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

Data races in futures-intrusive

متن اصلی

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

Rust / Cargofutures-intrusive
نسخه‌های متأثر
< 0.4.0
نسخهٔ اصلاح‌شده
0.4.0

بهره‌برداری

CVE-2020-35915

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

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

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

GenericMutexGuard was given the Sync auto trait as long as T is Send due to its contained members. However, since the guard is supposed to represent an acquired lock and allows concurrent access to the underlying data from different threads, it should only be Sync when the underlying data is.

This is a soundness issue and allows data races, potentially leading to crashes and segfaults from safe Rust code.

The flaw was corrected by adding a T: Send + Sync bound for GenericMutexGuard's Sync trait.

پیوندها