« List of all CVEs

CVE-2021-28878

Published: 4/11/2021 Last updated: 8/3/2024 Reserved: 3/19/2021

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.

CNA assigner: mitre (8254265b-2729-46b6-b9e3-3dfca2d5bfca) Requested by: n/a

Opam packages affected (6)

conf-rust conf-rust-2018 conf-rust-2021 conf-rust-2024 conf-rust-llvm conf-rust-wasm

Products affected (1)

Product Vendor Version
n/a n/a Android-6.0 Android-6.0.1 Android-7.0 Android-7.1.1 Android-7.1.2 Android-8.0 Android-8.1

References (12)