RUSTSEC-2021-0094

    Dashboard / Vulnerabilities / RUSTSEC-2021-0094

    RUSTSEC-2021-0094

    Published: 3 Feb 2021Last Modified: 8 Nov 2023

    Summary: Window can read out of bounds if Read instance returns more bytes than buffer size

    Details: `rdiff` performs a diff of two provided strings or files. As part of its reading code it uses the return value of a `Read` instance to set the length of its internal character vector. If the `Read` implementation claims that it has read more bytes than the length of the provided buffer, the length of the vector will be set to longer than its capacity. This causes `rdiff` APIs to return uninitialized memory in its API methods.

    Affected packages

    Package

    Name: rdiff

    Purl: pkg:cargo/rdiff

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-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
    RUSTSEC-2021-0094 | CVE-DB