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

Data race in conqueue

متن اصلی

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

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

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

بهره‌برداری

CVE-2020-36437

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

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

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

Affected versions of this crate unconditionally implemented Send/Sync for QueueSender<T>, allowing to send non-Send T to other threads by invoking (&QueueSender<T>).send().

This fails to prevent users from creating data races by sending types like Rc<T> or Arc<Cell<T>> to other threads, which can lead to memory corruption. The flaw was corrected in commit 1e462c3 by imposing T: Send to both Send/Sync impls for QueueSender<T>/QueueReceiver<T>.

پیوندها