PT-2018-15484

CVE-2018-20991

·

Published

2018-07-19

·

Updated

2021-08-25

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions smallvec versions prior to 0.6.3
Description An issue in the smallvec crate for Rust was discovered, where the Iterator implementation mishandles destructors, potentially leading to a double free. This occurs when an iterator passed to SmallVec::insert many panics in Iterator::next, causing destructors to run during unwinding while the vector is in an inconsistent state.
Recommendations For versions prior to 0.6.3, update to version 0.6.3 to resolve the issue. As a temporary workaround, consider avoiding the use of SmallVec::insert many with iterators that may panic in Iterator::next until the update is applied.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-RXR4-X558-X7HW
RUSTSEC-2018-0003
SUSE-SU-2021:1310-1
SUSE-SU-2021_1310-1
Found an issue in the description? Have something to add? Feel free to write us 👾