RUSTSEC-2020-0021

    Dashboard / Vulnerabilities / RUSTSEC-2020-0021

    RUSTSEC-2020-0021

    Published: 11 May 2020Last Modified: 8 Nov 2023

    Summary: rio allows a use-after-free buffer access when a future is leaked

    Details: When a `rio::Completion` is leaked, its drop code will not run. The drop code is responsible for waiting until the kernel completes the I/O operation into, or out of, the buffer borrowed by `rio::Completion`. Leaking the struct will allow one to access and/or drop the buffer, which can lead to a use-after-free, data races or leaking secrets. Upstream is not interested in fixing the issue.

    Affected packages

    Package

    Name: rio

    Purl: pkg:cargo/rio

    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-2020-0021 | CVE-DB