{"id":"CVE-2021-28879","aliases":["CVE-2021-28879"],"related":[],"kind":"vulnerability","state":"published","title":"In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer overflow.","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En la biblioteca estándar de Rust versiones anteriores a 1.52.0, la implementación de Zip puede reportar un tamaño incorrecto debido a un desbordamiento de enteros.&#xa0;Este bug puede conllevar a un desbordamiento del búfer cuando un iterador Zip consumido es usado nuevamente","source":"nvd"}],"published":"2021-04-11T00:00:00.000Z","modified":"2026-06-17T03:47:00.813Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.52.0"}],"vendor":"rust-lang","product":"rust","cpe":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"},{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/rust-lang/rust/issues/82282","tags":["exploit","issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/rust-lang/rust/pull/82289","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28879","url":"https://www.cve.org/CVERecord?id=CVE-2021-28879","licence":"CVE Terms of Use","modified":"2024-08-03T21:55:12.277Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28879","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28879","licence":"Public domain","modified":"2026-06-17T03:47:00.813Z"}],"updatedAt":"2026-11-25T22:58:00.705Z","epss":{"score":0.02412,"percentile":0.84573,"date":"2026-12-01T12:00:22.000Z"}}