First published: Sun Apr 11 2021(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Rust-lang Rust | <1.52.0 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-28879 is a vulnerability in the standard library in Rust before version 1.52.0 that can lead to a buffer overflow due to an integer overflow.
CVE-2021-28879 has a severity rating of 9.8, which is considered critical.
CVE-2021-28879 affects Rust versions before 1.52.0 and Fedora versions 32, 33, and 34.
CVE-2021-28879 is associated with CWE-119 and CWE-190.
You can find more information about CVE-2021-28879 in the references provided: [1](https://github.com/rust-lang/rust/issues/82282), [2](https://github.com/rust-lang/rust/pull/82289), [3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/)