GHSA-gx73-2498-r55cCriticalCVSS 9.8
Unsound casting in flatbuffers
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- rust/flatbuffers:>= 0.4.0, < 0.6.1