{"id":"RUSTSEC-2019-0007","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.\n\nThis allows an attacker to trigger a SIGABRT by creating length fields that announce more bytes than the allocator can provide.\n \nThe flaw was corrected by not preallocating memory.","aliases":["CVE-2019-15549","GHSA-v5r6-6r3c-wqxc"],"modified":"2023-11-08T04:01:14.041634Z","published":"2019-06-13T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/asn1_der"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0007.html"},{"type":"REPORT","url":"https://github.com/KizzyCode/asn1_der/issues/1"}],"affected":[{"package":{"name":"asn1_der","ecosystem":"crates.io","purl":"pkg:cargo/asn1_der"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"arch":[],"os":[]}},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0007.json","informational":null,"cvss":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}