cbcvebase.
CVE-2021-31162
published 2021-04-14

CVE-2021-31162: 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.

critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianrustc< rustc 1.53.0+dfsg1-1 (bookworm)rustc 1.53.0+dfsg1-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64
msrccm1_rust_1.59.0-1_on_cbl_mariner_1.0
rust-langrust>= 1.48.0 < 1.52.01.52.0

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL