CVE-2019-16882 – string-interner
Package
Manager: cargo
Name: string-interner
Vulnerable Version: >=0.7.0 <0.7.1 || >=0 <0.6.4
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00285 pctl0.51485
Details
Use after free in string-interner Affected versions of this crate did not clone contained strings when an interner is cloned. Interners have raw pointers to the contained strings, and they keep pointing the strings which the old interner owns, after the interner is cloned. If a new cloned interner is alive and the old original interner is dead, the new interner has dangling pointers to the old interner's storage, which is already dropped. This allows an attacker to read the already freed memory. The dangling pointers are used by the interners to check a string is already interned. An attacker can do brute force attack to get the data pointed by the dangling pointer.
Metadata
Created: 2021-08-25T20:44:15Z
Modified: 2023-06-13T21:55:41Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-49fq-pw77-6qxj/GHSA-49fq-pw77-6qxj.json
CWE IDs: ["CWE-416"]
Alternative ID: GHSA-49fq-pw77-6qxj
Finding: F138
Auto approve: 1