Vulnerability CVE-2021-31162


Published: 2021-04-14

Description:
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.

Type:

CWE-415

(Double Free)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Rust-lang -> RUST 

 References:
https://github.com/rust-lang/rust/issues/83618
https://github.com/rust-lang/rust/pull/83629

Copyright 2024, cxsecurity.com

 

Back to Top