9.8

CVE-2021-31162: fedoraproject fedora Double Free

Modified
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 87.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
2.89%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 3

Timeline

  1. 14-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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 versions

EPSS trend

Probability

2.89%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.89% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Rust

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • chromium-rust< 1.51.0-r2
  • rust≥ 1.48.0, < 1.51.0-r2
Debian1 product
  • rustc< 1.53.0+dfsg1-1
Fedoraproject1 product
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 · 6 products

References

12 links
Show all 12 references