HistoryEditJSON (OSV)

CVE-2021-31162

Double free in Vec::from_iter specialization when drop panics

Reported
Issued
Package
std
Type
Vulnerability
Categories
References
Patched
  • >=1.52.0
Unaffected
  • <1.48.0

Description

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.

Advisory available under CC0-1.0 license.