همهٔ گزارش‌ها
متوسط

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

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

Rust / Cargopyo3
نسخه‌های متأثر
>=0.22.0 <0.22.4
نسخهٔ اصلاح‌شده
0.22.4
Rust / Cargopyo3
نسخه‌های متأثر
>= 0.22.0, < 0.22.4
نسخهٔ اصلاح‌شده
0.22.4
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2024-9979

احتمال بهره‌برداری در ۳۰ روز آینده: 0.21%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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.

پیوندها