vulnerability

Gentoo Linux: CVE-2021-28876: Rust: Multiple Vulnerabilities

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
Apr 11, 2021
Added
Oct 17, 2022
Modified
Aug 13, 2025

Description

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.

Solutions

gentoo-linux-upgrade-dev-lang-rustgentoo-linux-upgrade-dev-lang-rust-bin
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.