Files
advisory-db/rust/std/CVE-2021-31162.md
2021-07-06 12:36:13 -06:00

447 B

[advisory]
id = "CVE-2021-31162"
package = "std"
categories = ["memory-corruption"]
date = "2021-03-28"
url = "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31162"

[versions]
patched = [">= 1.52.0"]
unaffected = ["< 1.48.0"]

Double free in Vec::from_iter specialization when drop panics

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.