Files
advisory-db/crates/asn1_der/RUSTSEC-2019-0007.toml

23 lines
646 B
TOML

[advisory]
id = "RUSTSEC-2019-0007"
package = "asn1_der"
date = "2019-06-13"
title = "Processing of maliciously crafted length fields causes memory allocation SIGABRTs"
description = """
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.
"""
patched_versions = [">= 0.6.2"]
url = "https://github.com/KizzyCode/asn1_der/issues/1"
keywords = ["dos"]