CVE-2021-28879

Summary

CVECVE-2021-28879
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-11 20:15:00 UTC
Updated2023-11-07 03:32:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 32 All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Rust-lang Rust All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 32 Update: rust-1.51.0-3.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Rust: Multiple Vulnerabilities (GLSA 202210-09) — Gentoo security GENTOO security.gentoo.org
Fix underflow in specialized ZipImpl::size_hint by SkiFire13 · Pull Request #82289 · rust-lang/rust · GitHub MISC github.com
Side effect handling in specialized zip implementation causes buffer overflow · Issue #82282 · rust-lang/rust · GitHub MISC github.com
[SECURITY] Fedora 34 Update: rust-1.51.0-3.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: rust-1.51.0-3.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 32 Update: rust-1.51.0-3.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: rust-1.51.0-3.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 33 Update: rust-1.51.0-3.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159344 Oracle Enterprise Linux Security Update for rust-toolset:ol8 (ELSA-2021-3063)
  • 183103 Debian Security Update for rustc (CVE-2021-28879)
  • 239538 Red Hat Update for rust-toolset:rhel8 (RHSA-2021:3063)
  • 281294 Fedora Security Update for rust (FEDORA-2021-b1ba54add6)
  • 281295 Fedora Security Update for rust (FEDORA-2021-d7f74f0250)
  • 281296 Fedora Security Update for rust (FEDORA-2021-d0ba1901ca)
  • 296065 Oracle Solaris 11.4 Support Repository Update (SRU) 39.107.1 Missing (CPUOCT2021)
  • 353979 Amazon Linux Security Advisory for rust : ALAS2-2022-1816
  • 377347 Alibaba Cloud Linux Security Update for rust-toolset:rhel8 (ALINUX3-SA-2021:0061)
  • 710640 Gentoo Linux Rust Multiple Vulnerabilities (GLSA 202210-09)
  • 900032 CBL-Mariner Linux Security Update for rust 1.47.0
  • 903188 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (4151)
  • 940361 AlmaLinux Security Update for rust-toolset:rhel8 (ALSA-2021:3063)
  • 960098 Rocky Linux Security Update for rust-toolset:rhel8 (RLSA-2021:3063)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report