{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-28877","published":"2021-04-11T20:15:12.737000Z","last_modified":"2026-06-17T03:47:00.580000Z","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.51.0"}],"cpes_truncated":false,"vendors":["rust-lang"],"products":["rust-lang/rust"],"epss":{"score":0.01387,"percentile":0.72464,"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-28877/","html_en":"/en/cve/CVE-2021-28877/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28877","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28877"},"untrusted":{"vendor_name":"Rust-lang","product_name":"Rust","desc_en":"In the standard library in Rust before 1.51.0, the Zip implementation calls __iterator_get_unchecked() for the same index more than once when nested. This bug can 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/pull/80670","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["Third Party Advisory"]}]}}