Related Vulnerabilities: CVE-2021-31162  

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.

Severity Medium

Remote Yes

Type Arbitrary code execution

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.

AVG-1801 rust 1:1.51.0-1 Medium Vulnerable

https://github.com/rust-lang/rust/issues/83618
https://github.com/rust-lang/rust/pull/83629
https://github.com/rust-lang/rust/commit/542f441d445026d0996eebee9ddddee98f5dc3e5