CVE-2021-28877

published 11 Apr 2021 · updated 3 Aug 2024

In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once…

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-28877 severity on Zeptric[![CVE-2021-28877](https://zeptric.io/badge/cve/CVE-2021-28877.svg)](https://zeptric.io/cve/CVE-2021-28877)