CVE-2015-20001

CWE-119Buffer Overflow5 documents5 sources
Severity
7.5HIGH
EPSS
0.3%
top 49.11%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 11
Latest updateMay 24

Description

In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The binary heap is left in an inconsistent state when the comparison of generic elements inside sift_up or sift_down_range panics. This bug leads to a drop of zeroed memory as an arbitrary type, which can result in a memory safety violation.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDrust-lang/rust< 1.2.0
Debianrustc< 1.2.0+dfsg1-1+3

Patches

🔴Vulnerability Details

3
GHSA
GHSA-gf7g-j42c-9rjr: In the standard library in Rust before 12022-05-24
CVEList
CVE-2015-20001: In the standard library in Rust before 12021-04-11
OSV
CVE-2015-20001: In the standard library in Rust before 12021-04-11

📋Vendor Advisories

1
Debian
CVE-2015-20001: rustc - In the standard library in Rust before 1.2.0, BinaryHeap is not panic-safe. The ...2015
CVE-2015-20001 (HIGH CVSS 7.5) | In the standard library in Rust bef | cvebase.io