Vulnerability in Rust-Lang Rust
CVE-2021-28876
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.
EPSS: 0.016 (72.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
Affected products
- Rust-lang Rust
- Fedoraproject Fedora — versions 32, 33, 34
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Exploit, Third Party Advisory, Issue Tracking)
- cve@mitre.org (Patch, Third Party Advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-28876?
- CVE-2021-28876 is a medium-severity vulnerability in Rust-Lang Rust, classified under Improper Handling of Exceptional Conditions. CVSS score: 5.3/10. Published 2021-04-11.
- How severe is CVE-2021-28876?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2021-28876 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.