RUSTSEC-2019-0007

Source
https://rustsec.org/advisories/RUSTSEC-2019-0007
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0007.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2019-0007
Aliases
Published
2019-06-13T12:00:00Z
Modified
2023-11-08T04:01:14.041634Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / asn1_der

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.6.2

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "informational": null,
    "categories": []
}