CVE & CISA-KEV Catalog

CVE-2021-28877

HIGH
7.5
CVSS v3
NVD

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

Remediation Available
rustcDebian
Fixed in:1.53.0+dfsg1-1CVE-2021-28877
Fixed in:1.53.0+dfsg1-1CVE-2021-28877
Fixed in:1.53.0+dfsg1-1CVE-2021-28877
Rust (GNU)Windows application
Affected:1.51.0Fixed in:1.51.0The Rust Project Developers
Rust (MSVC)Windows application
Affected:1.51.0Fixed in:1.51.0The Rust Project Developers

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.39%probability of exploitation in 30 days
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Third-Party Advisory1

Related Vulnerabilities

Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-4966Critical9.4100%KEV + RansomFix
CVE-2017-11882High7.8100%KEV + Ransom-
CVE-2020-0796Critical10.0100%KEV + Ransom-
CVE-2008-4250Critical9.899%KEV-
CVE-2017-15944Critical9.898%KEVFix
CVE-2015-0014High10.097%--
Embed a live status badge for CVE-2021-28877
CVE-2021-28877 severity badge

Markdown

[![CVE-2021-28877](https://tridentstack.com/cve/badge/CVE-2021-28877.svg)](https://tridentstack.com/cve/CVE-2021-28877)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-28877"><img src="https://tridentstack.com/cve/badge/CVE-2021-28877.svg" alt="CVE-2021-28877"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.