logo

CVE-2019-15551 smallvec

Package

Manager: cargo
Name: smallvec
Vulnerable Version: >=0.6.5 <0.6.10

Severity

Level: Critical

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00425 pctl0.61399

Details

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.

Metadata

Created: 2021-08-25T20:44:59Z
Modified: 2023-06-13T20:57:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-mm7v-vpv8-xfc3/GHSA-mm7v-vpv8-xfc3.json
CWE IDs: ["CWE-415"]
Alternative ID: GHSA-mm7v-vpv8-xfc3
Finding: F138
Auto approve: 1