{ "schema_version": "1.4.0", "id": "GHSA-r23x-h32h-x9jh", "modified": "2022-10-16T19:00:30Z", "published": "2022-05-24T17:47:05Z", "aliases": [ "CVE-2021-28877" ], "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28877" }, { "type": "WEB", "url": "https://github.com/rust-lang/rust/pull/80670" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/202210-09" } ], "database_specific": { "cwe_ids": [ "CWE-119" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2021-04-11T20:15:00Z" } }