CVE-2021-31162

Name
CVE-2021-31162
Description
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://github.com/rust-lang/rust/issues/83618
Patch https://github.com/rust-lang/rust/pull/83629
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/
CONFIRM https://github.com/rust-lang/rust/pull/84603

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* rust >= 1.48.0 < 1.53.0
cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* rust >= 1.48.0 < 1.52.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
rust 3.14-community 1.52.1-r1 Rasmus Thomsen <oss@cogitri.dev> fixed