{"id":"CVE-2021-28876","published":"2021-04-11T00:00:00Z","modified":"2024-08-03T21:55:11Z","title":"In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue","vendor":null,"product":null,"tier":"tail","description":{"text":"In the standard library in Rust before 1.52.0, the Zip implementation has a panic safety issue. It calls __iterator_get_unchecked() more than once for the same index when the underlying iterator panics (in certain conditions). This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01566,"percentile":0.75133,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/rust-lang/rust/issues/81740","tags":[]},{"url":"https://github.com/rust-lang/rust/pull/81741","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202210-09","tags":["vendor-advisory"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":15.03}]},"euvd":{"id":"EUVD-2021-15529","exploited":false,"provenance":"source"}}