همهٔ گزارش‌ها
بحرانی

Drop of uninitialized memory in stack_dst

متن اصلی

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

Rust / Cargostack_dst
نسخه‌های متأثر
< 0.6.1
نسخهٔ اصلاح‌شده
0.6.1

بهره‌برداری

CVE-2021-28035

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

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

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

Affected versions of stack_dst used a push_inner function that increased the internal length of the array and then called val.clone(). If the val.clone() call panics, the stack could drop an already dropped element or drop uninitialized memory. This issue was fixed in 2a4d538 by increasing the length of the array after elements are cloned.

پیوندها