GHSA-gx73-2498-r55c

    Dashboard / Vulnerabilities / GHSA-gx73-2498-r55c

    GHSA-gx73-2498-r55c

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Unsound casting in flatbuffers

    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
    GHSA-gx73-2498-r55c | CVE-DB