mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-31 16:50:28 +01:00
17 lines
447 B
Markdown
17 lines
447 B
Markdown
```toml
|
|
[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.
|