PT-2019-14267 · Rust · Smallvec
Published
2019-06-06
·
Updated
2021-08-25
·
CVE-2019-15551
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
smallvec crate versions prior to 0.6.10
Description
An issue in the smallvec crate allows for a double free when attempting to call
grow on a spilled SmallVec with a value equal to the current capacity, potentially leading to use-after-free on subsequent accesses to the SmallVec contents. An attacker controlling the value passed to grow may exploit this to obtain memory contents or gain remote code execution.Recommendations
For versions prior to 0.6.10, update to version 0.6.10 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
grow function on spilled SmallVec instances to minimize the risk of exploitation.Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Smallvec