RUSTSEC-2019-0007

    Dashboard / Vulnerabilities / RUSTSEC-2019-0007

    RUSTSEC-2019-0007

    Published: 13 Jun 2019Last Modified: 8 Nov 2023

    Summary: Processing of maliciously crafted length fields causes memory allocation SIGABRTs

    Details: Affected versions of this crate tried to preallocate a vector for an arbitrary amount of bytes announced by the ASN.1-DER length field without further checks. This allows an attacker to trigger a SIGABRT by creating length fields that announce more bytes than the allocator can provide. The flaw was corrected by not preallocating memory.

    Affected packages

    Package

    Name: asn1_der

    Purl: pkg:cargo/asn1_der

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.6.2

    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