CVE-2021-28877
7.5
HIGH
CVSS 3.1
EPSS 0.27%
Description
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.
How to fix CVE-2021-28877
No fixed version has been published yet. Mitigate by removing the affected package or applying upstream guidance from the references below.
- Debian/rustc—no fix listed
Is CVE-2021-28877 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |