CVE-2021-31162
CRITICALRust 1.48.0-1.51.0 - Use-After-Free in Vec::from_iter
Title source: llmDescription
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.
References (7)
Core 7
Core References
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CZ337CM4GFJLRDFVQCGC7J25V65JXOG5/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZG65GUW6Z2CYOQHF7T3TB5CZKIX6ZJE/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUO3URYCO73D2Q4WYJBWAMJWGGVXQO4/
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202210-09
Exploit, Third Party Advisory
https://github.com/rust-lang/rust/issues/83618
Patch, Third Party Advisory
https://github.com/rust-lang/rust/pull/83629
Patch, Third Party Advisory
https://github.com/rust-lang/rust/pull/84603
Scores
CVSS v3
9.8
EPSS
0.0291
EPSS Percentile
85.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-415
Status
published
Products (4)
fedoraproject/fedora
32
fedoraproject/fedora
33
fedoraproject/fedora
34
rust-lang/rust
1.48.0 - 1.52.0
Published
Apr 14, 2021
Tracked Since
Feb 18, 2026