In the standard library in Rust before 1.53.0, a double free can occur in the Vec::from_iter function if freeing the element panics. Reference: https://github.com/rust-lang/rust/issues/83618 Upstream patch: https://github.com/rust-lang/rust/pull/83629
Created rust tracking bugs for this issue: Affects: epel-7 [bug 1950401] Affects: fedora-all [bug 1950400]
This was backported to the upstream beta branch, so it will now be fixed in 1.52.0. https://github.com/rust-lang/rust/pull/84603
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-31162
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