GHSA-c6px-4grw-hrjr

    Dashboard / Vulnerabilities / GHSA-c6px-4grw-hrjr

    GHSA-c6px-4grw-hrjr

    Published: 16 Jun 2022Last Modified: 8 Nov 2023

    Summary: 'Read' on uninitialized memory may cause UB

    Details: Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation. The crate currently contains 4 occurrences of such cases. Arbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

    Affected packages

    Package

    Name: binjs_io

    Purl: pkg:cargo/binjs_io

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    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-c6px-4grw-hrjr | CVE-DB