Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-28877 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/rust-lang/rust/pull/80670 CVEIssue TrackingPatchThird Party Advisory
https://security.gentoo.org/glsa/202210-09 CVEThird Party Advisory
https://github.com/rust-lang/rust/pull/80670 [email protected]Issue TrackingPatchThird Party Advisory
https://security.gentoo.org/glsa/202210-09 [email protected]Third Party Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer[email protected]

Affected Products

ProductVersions
rust-lang rust
< 1.51.0

CPE

  • cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-28877
NVD Published Date:
Apr 11, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-28877 Details - Not Deferred