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

Data races in beef

متن اصلی

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

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

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

بهره‌برداری

CVE-2020-36442

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

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

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

An issue was discovered in the beef crate before 0.5.0 for Rust. Affected versions of this crate did not have a T: Sync bound in the Send impl for Cow<'_, T, U>. This allows users to create data races by making Cow contain types that are (Send && !Sync) like Cell<_> or RefCell<_>.

Such data races can lead to memory corruption.

The flaw was corrected in commit d1c7658 by adding trait bounds T: Sync and T::Owned: Send to the Send impl for Cow<'_, T, U>.

پیوندها