In the standard library in Rust before 1.52.0, the Zip implementation can report an…
Priority MEDIUM 47CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.02412 84th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* | before 1.52.0 | Vulnerable | rust-lang |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* Versions before 1.52.0 Vulnerable ·rust-lang
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
Red Hat 2 advisories
- RHSA-2021:3063 Released 2021-08-10 · Red Hat rating Moderaterust-toolset:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) cargo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64::rust-toolset:rhel8, cargo-1.52.1-1.module+el8.4.0+11282+0729bac9.ppc64le::rust-toolset:rhel8, cargo-1.52.1-1.module+el8.4.0+11282+0729bac9.s390x::rust-toolset:rhel8 +40
- RHSA-2021:3042 Released 2021-08-10 · Red Hat rating Moderaterust-toolset-1.52 and rust-toolset-1.52-rust security and enhancement update
- Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) rust-toolset-1.52-1.52.1-1.el7_9, rust-toolset-1.52-build-1.52.1-1.el7_9, rust-toolset-1.52-cargo-1.52.1-2.el7_9 +13
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:3042 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:3063 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28879
- 2026-10-03 Alias added: GHSA-rq3p-62m7-c66f
References
Sources
- CVE-2021-28879 · CVE Program
- CVE-2021-28879 · NVD
- FIRST EPSS
- GHSA-rq3p-62m7-c66f · GitHub Advisory Database · CC BY 4.0
- CVE-2021-28879 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences