CVE-2021-31162: fedoraproject fedora Double Free
CVSS: 9.8v3.1CriticalModified
AliasesALPINE-CVE-2021-31162UBUNTU-CVE-2021-31162DEBIAN-CVE-2021-31162
Published 14-04-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-31162 is a critical (CVSS 9.8) Double Free vulnerability in fedoraproject fedora. EPSS estimates a 2.89% chance of exploitation in the next 30 days, higher than 86.7% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
2.89%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Advisory lineage
Upstream 0 · Downstream 3Timeline
- 14-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
CVSS metrics
5 scores · 4 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 4 agree
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.89%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
0.00 pp
From 2.89% on 19-09-2026
19-09-202619-10-2026
EPSS score2.89%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRust
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Alpine1 product
- rust≥ 1.48.0, < 1.51.0-r2
Debian1 product
- rustc< 1.53.0+dfsg1-1
Fedoraproject1 product
- fedoraEOL32 | 33 | 34
Rust-lang1 product
- rust≥ 1.48.0, < 1.52.0
Ubuntu1 product
- rustcAll versions (No fix recorded) | < 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 | < 1.53.0+dfsg1+llvm-4ubuntu1
5 vendors · 5 products
References
12 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory