- Reported
-
- Issued
-
- Package
-
flatbuffers
(crates.io)
- Type
-
Vulnerability
- Aliases
-
- References
-
- CVSS Score
- 9.8
CRITICAL
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Patched
-
- Unaffected
-
- Affected Functions
- Version
flatbuffers::Follow::follow
-
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.
Advisory available under CC0-1.0
license.