flatbuffers
Affected
- introduced
0.4.0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1cargo update -p flatbuffers --precise 0.6.1
Advisory
Also known as: CVE-2019-25004, RUSTSEC-2019-0028
Unsound casting in flatbuffers
The implementation of impl Follow for bool allows to reinterpret arbitrary bytes as a bool.
In Rust bool has stringent requirements for its in-memory representation. Use of this function allows to violate these requirements and invoke undefined behaviour in safe code.
Critical Basis: The source's own band: CRITICAL
0.4.0, fixed 0.6.1 (semver)0.6.1
0.6.1cargo update -p flatbuffers --precise 0.6.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0