CVE-2021-28879

rust: integer overflow in the Zip implementation can lead to a buffer overflow

Published Apr 11, 2021 CVSS 3.1 · 9.8 Critical EPSS 2.4% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-15532 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00117}

epss

{'score': 0.00123}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 19, 2021, 12:00 AM
Status
Modified
Published
Apr 11, 2021, 8:15 PM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Mar 5, 2021, 12:00 AM