CVE-2021-28878
- State
- Published
- Severity
- Not scored
- Published
- Apr 11, 2021
- Updated
- Aug 3, 2024
- Reserved
- Mar 19, 2021
Description
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://github.com/rust-lang/rust/issues/82291
- https://github.com/rust-lang/rust/pull/82292
- FEDORA-2021-d0ba1901cavendor-advisory
- FEDORA-2021-b1ba54add6vendor-advisory
- FEDORA-2021-d7f74f0250vendor-advisory
- GLSA-202210-09vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.