CVE-2021-28878
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
Published:Mar 7, 2021
Last Modified:Nov 21, 2024
EPS:Apr 11, 2021
EPSS Score:0.00125
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Redhat
Product
Devtools
Redhat
Devtools
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Rust-lang
Product
Rust
Rust-lang
Rust
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
