7.5

CVE-2021-28877: rust-lang rust

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-28877DEBIAN-CVE-2021-28877
Published 11-04-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-28877 is a high (CVSS 7.5) vulnerability in rust-lang rust. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 71.8% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 11-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.39%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

0.00 pp

From 1.39% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • rustc< 1.53.0+dfsg1-1
Rust-lang1 product
Ubuntu1 product
  • rustcAll versions (No fix recorded) | < 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2

3 vendors · 3 products

References

6 links