smallvec
Affected
- introduced
0.6.5, fixed0.6.10(semver)
Fixed versions
0.6.10
Fix
- Fixed version
0.6.10cargo update -p smallvec --precise 0.6.10
Advisory
Also known as: CVE-2019-15551, RUSTSEC-2019-0009
Double free in smallvec
Attempting to call grow on a spilled SmallVec with a value equal to the current capacity causes it to free the existing data. This performs a double free immediately and may lead to use-after-free on subsequent accesses to the SmallVec contents. An attacker that controls the value passed to grow may exploit this flaw to obtain memory contents or gain remote code execution.
Critical Basis: The source's own band: CRITICAL
0.6.5, fixed 0.6.10 (semver)0.6.10
0.6.10cargo update -p smallvec --precise 0.6.10Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0