CVE-2021-28879 Integer overflow in n/a

Critical 9.8 Published Updated

An integer overflow in the Rust standard library's Zip implementation can cause buffer overflows, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28879?

CVE-2021-28879 is a critical vulnerability in Fedoraproject Fedora, published on 11 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-190

Which versions are affected by CVE-2021-28879?

It affects 2 products.

Products include Fedoraproject Fedora, Rust-Lang Rust.

How do I fix CVE-2021-28879?

Upgrade to a fixed version.

Is CVE-2021-28879 being exploited?

There is no known exploitation of CVE-2021-28879 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-28879, GHSA-rq3p-62m7-c66f, UBUNTU-CVE-2021-28879.

Is CVE-2021-28879 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free