CVE-2021-28876: fedoraproject fedora
Vulnerability summary
CVE-2021-28876 is a medium (CVSS 5.3) vulnerability in fedoraproject fedora. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 74.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3Timeline
- 11-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.57%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.57% on 19-09-2026
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.53.0+dfsg1-1
Fedoraproject1 product
- fedoraEOL32 | 33 | 34
Rust-lang1 product
- rust< 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
4 vendors · 4 products
References
10 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory