Vulnerability

CVE-2021-28878

highCVSS 3.1 7.5Published 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 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.

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