Bugzilla – Bug 1184748
VUL-0: CVE-2021-31162: rust: double free can occur in the Vec:from_iter function if freeing the element panics
Last modified: 2022-01-21 12:59:28 UTC
CVE-2021-31162 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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-31162 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31162 https://github.com/rust-lang/rust/issues/83618 https://github.com/rust-lang/rust/pull/83629
was maybe introduced with 1.48.0, need to have a closer look to be sure
Indeed there is a double-free bug, but it happens during panicking. The process will abort shortly due to the panic. I don't think this is super critical.
Does not affect any supported version anymore. Updated tracking. Closing