RUSTSEC-2021-0043

    Dashboard / Vulnerabilities / RUSTSEC-2021-0043

    RUSTSEC-2021-0043

    Published: 17 Feb 2021Last Modified: 8 Nov 2023

    Summary: PartialReader passes uninitialized memory to user-provided Read

    Details: Affected versions of this crate passed an uniniitalized buffer to a user-provided `Read` instance in `PartialReader::read`. This can result in safe `Read` implementations reading from the uninitialized buffer leading to undefined behavior. The flaw was fixed in commit [`39d62c6`](https://github.com/uutils/coreutils/commit/39d62c6c1f809022c903180471c10fde6ecd12d1) by zero-initializing the passed buffer.

    Affected packages

    Package

    Name: uu_od

    Purl: pkg:cargo/uu_od

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.0.4

    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-0043 | CVE-DB