RUSTSEC-2019-0028

    Dashboard / Vulnerabilities / RUSTSEC-2019-0028

    RUSTSEC-2019-0028

    Published: 20 Oct 2019Last Modified: 8 Nov 2023

    Summary: Unsound `impl Follow for bool`

    Details: 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 packages

    Package

    Name: flatbuffers

    Purl: pkg:cargo/flatbuffers

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.4.0
    Fixed -0.6.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2019-0028 | CVE-DB