Vulnerability

CVE-2021-28876

mediumCVSS 3.1 5.3Published 11 Apr 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Fedoraproject fedora
  • Rust Lang rust

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning