CVE-2021-28876
MEDIUMRust < 1.52.0 - Improper Exception Handling
Title source: ruleDescription
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.
References (6)
Scores
CVSS v3
5.3
EPSS
0.0042
EPSS Percentile
61.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Classification
CWE
CWE-755
Status
published
Affected Products (4)
rust-lang/rust
< 1.52.0
fedoraproject/fedora
fedoraproject/fedora
fedoraproject/fedora
Timeline
Published
Apr 11, 2021
Tracked Since
Feb 18, 2026