CVE-2015-20001: rust-lang rust
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2015-20001DEBIAN-CVE-2015-20001
Published 11-04-2021Last modified 06-08-2024
Vulnerability summary
CVE-2015-20001 is a high (CVSS 7.5) vulnerability in rust-lang rust. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.32%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 11-04-2021PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:N/A:PSourcesSingle source
EPSS trend
Probability
1.32%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.32% on 19-09-2026
19-09-202619-10-2026
EPSS score1.32%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRust
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian1 product
- rustc< 1.2.0+dfsg1-1
Rust-lang1 product
- rust< 1.2.0
Ubuntu1 product
- rustc< 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1 | < 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1
3 vendors · 3 products
References
5 links- github.com/rust-lang/rust/issues/25842X Refsource MISCExploitIssue TrackingPatchThird Party AdvisoryREPORT