Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-49fq-pw77-6qxj

Опубликовано: 25 авг. 2021
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

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.

Пакеты

Наименование

string-interner

rust
Затронутые версииВерсия исправления

>= 0.7.0, < 0.7.1

0.7.1

Наименование

string-interner

rust
Затронутые версииВерсия исправления

< 0.6.4

0.6.4

EPSS

Процентиль: 52%
0.00285
Низкий

7.5 High

CVSS3

Дефекты

CWE-416

Связанные уязвимости

CVSS3: 7.5
nvd
больше 6 лет назад

An issue was discovered in the string-interner crate before 0.7.1 for Rust. It allows attackers to read from memory locations associated with dangling pointers, because of a cloning flaw.

EPSS

Процентиль: 52%
0.00285
Низкий

7.5 High

CVSS3

Дефекты

CWE-416