Vulnerability · Published Apr 11, 2021 · Assigned by mitre

CVE-2021-28879

Critical 9.8

In plain English

A critical-severity security flaw in the rustc package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.4%top 15.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow. This bug can lead to a buffer overflow when a consumed Zip iterator is used again.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-28879
Debian:13rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-28879
Debian:14rustc1.53.0+dfsg1-1DEBIAN-CVE-2021-28879
Rocky Linux:8rust0:1.52.1-1.module+el8.4.0+641+ca238f88RLSA-2021:3063
Rocky Linux:8rust-toolset0:1.52.1-1.module+el8.4.0+641+ca238f88RLSA-2021:3063
Ubuntu:22.04:LTSrustc1.53.0+dfsg1+llvm-4ubuntu1UBUNTU-CVE-2021-28879

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References