{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-28878","published":"2021-04-11T20:15:12.813000Z","last_modified":"2026-06-17T03:47:00.697000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*","part":"a","vendor":"rust-lang","product":"rust","version_end_excluding":"1.52.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"32"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["rust-lang","fedoraproject"],"products":["rust-lang/rust","fedoraproject/fedora"],"epss":{"score":0.01997,"percentile":0.81388,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-28878/","html_en":"/en/cve/CVE-2021-28878/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28878","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28878"},"untrusted":{"vendor_name":"Rust-lang","product_name":"Rust","desc_en":"In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.","affected":[],"references":[{"url":"https://github.com/rust-lang/rust/issues/82291","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/rust-lang/rust/pull/82292","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/","tags":[]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["Third Party Advisory"]}]}}