Buffer overflow in Rust-lang Rust

CVE-2021-28877

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…

Vulnerability class: Buffer Overflow

EPSS: 0.014 (69.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-28877?
CVE-2021-28877 is a high-severity vulnerability in Rust-lang Rust, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.5/10. Published 2021-04-11.
How severe is CVE-2021-28877?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2021-28877 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.