همهٔ گزارش‌ها
زیاد

Out of bounds write in stackvector

متن اصلی

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

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

Rust / Cargostackvector
نسخه‌های متأثر
< 1.0.9
نسخهٔ اصلاح‌شده
1.0.9
Rust / Cargostackvector
نسخه‌های متأثر
>=0.0.0-0 <1.0.9
نسخهٔ اصلاح‌شده
1.0.9

بهره‌برداری

CVE-2021-29939

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

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

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

StackVec::extend used the lower and upper bounds from an Iterator's size_hint to determine how many items to push into the stack based vector. If the size_hint implementation returned a lower bound that was larger than the upper bound, StackVec would write out of bounds and overwrite memory on the stack. As mentioned by the size_hint documentation, size_hint is mainly for optimization and incorrect implementations should not lead to memory safety issues.

پیوندها