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

exploitDog

github логотип

GHSA-6jgw-rgmm-7cv6

Опубликовано: 15 окт. 2024
Источник: github
Github: Прошло ревью
CVSS4: 4.8
CVSS3: 5.3

Описание

PyO3 has a risk of use-after-free in borrowed reads from Python weak references

The family of functions to read "borrowed" values from Python weak references were fundamentally unsound, because the weak reference does itself not have ownership of the value. At any point the last strong reference could be cleared and the borrowed value would become dangling.

In PyO3 0.22.4 these functions have all been deprecated and patched to leak a strong reference as a mitigation. PyO3 0.23 will remove these functions entirely.

Пакеты

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

pyo3

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

>= 0.22.0, < 0.22.4

0.22.4

EPSS

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

4.8 Medium

CVSS4

5.3 Medium

CVSS3

Дефекты

CWE-416

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

CVSS3: 5.3
ubuntu
около 1 года назад

A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.

CVSS3: 5.3
redhat
около 1 года назад

A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.

CVSS3: 5.3
nvd
около 1 года назад

A flaw was found in PyO3. This vulnerability causes a use-after-free issue, potentially leading to memory corruption or crashes via unsound borrowing from weak Python references.

CVSS3: 5.3
debian
около 1 года назад

A flaw was found in PyO3. This vulnerability causes a use-after-free i ...

EPSS

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

4.8 Medium

CVSS4

5.3 Medium

CVSS3

Дефекты

CWE-416