RUSTSEC-2021-0051

    Dashboard / Vulnerabilities / RUSTSEC-2021-0051

    RUSTSEC-2021-0051

    Published: 31 Jan 2021Last Modified: 8 Nov 2023

    Summary: KeyValueReader passes uninitialized memory to Read instance

    Details: The `KeyValueReader` type in affected versions of this crate set up an uninitialized memory buffer and passed them to be read in to a user-provided `Read` instance. The `Read` instance could read uninitialized memory and cause undefined behavior and miscompilations. This issue was fixed in commit [dd59b30](https://github.com/SolraBizna/outer_cgi/commit/dd59b3066e616a08e756f72de8dc3ab11b7036c4) by zero-initializing the buffers before passing them.

    Affected packages

    Package

    Name: outer_cgi

    Purl: pkg:cargo/outer_cgi

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.2.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-2021-0051 | CVE-DB