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. Reference: https://github.com/rust-lang/rust/issues/81740 Upstream patch: https://github.com/rust-lang/rust/pull/81741
Created rust tracking bugs for this issue: Affects: epel-7 [bug 1949200] Affects: fedora-all [bug 1949199]
This issue has been addressed in the following products: Red Hat Developer Tools Via RHSA-2021:3042 https://access.redhat.com/errata/RHSA-2021:3042
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-28876
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:3063 https://access.redhat.com/errata/RHSA-2021:3063