CVE-2021-31162 is a critical double free vulnerability in the Rust standard library's Vec::from_iter function, affecting Rust versions prior to 1.52.0 and related Fedora projects. With a CVSS score of 9.8, it presents a severe risk due to its network-based attack vector, low attack complexity, and potential for complete compromise of confidentiality, integrity, and availability. While no active exploitation, public exploit code, or significant community discussion has been observed, the vulnerability's high FAUCET Risk Score of 81/100 warrants immediate patching.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 1.48.0, < 1.52.0CPE matchmatch criteria | cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:* | ||
32CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | ||
33CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | ||
34CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2021-31162
Mar 14, 2023In 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.
Apr 13, 2021rust: double free in Vec::from_iter function if freeing the element panics
Mar 28, 2021