Advisory

GHSA-69gw-hgj3-45m7

Also known as: CVE-2019-15554, RUSTSEC-2019-0012

Summary

Memory corruption in smallvec

Details

Attempting to call grow on a spilled SmallVec with a value less than the current capacity causes corruption of memory allocator data structures. An attacker that controls the value passed to grow may exploit this flaw to obtain memory contents or gain remote code execution.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:43 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

smallvec

crates.io · All systems

Affected

  • introduced 0.6.3, fixed 0.6.10 (semver)

Fixed versions

0.6.10

Fix

  • Fixed version 0.6.10
    cargo update -p smallvec --precise 0.6.10

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences