CVE-2021-28878
HIGHRust < 1.52.0 - Memory Safety Violation via Zip Iterator next_back() and next()
Title source: llmDescription
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.
References (6)
Core 6
Core References
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202210-09
Exploit, Issue Tracking, Third Party Advisory
https://github.com/rust-lang/rust/issues/82291
Patch, Third Party Advisory
https://github.com/rust-lang/rust/pull/82292
Scores
CVSS v3
7.5
EPSS
0.0200
EPSS Percentile
78.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-119
Status
published
Products (4)
fedoraproject/fedora
32
fedoraproject/fedora
33
fedoraproject/fedora
34
rust-lang/rust
< 1.52.0
Published
Apr 11, 2021
Tracked Since
Feb 18, 2026