PT-2020-17537

CVE-2020-35905

·

تاريخ النشر

2020-10-22

·

تاريخ التحديث

2022-05-24

الوصف من

CVSS 3.1
4.7
متوسطة
المقاييسAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions futures-util crate versions prior to 0.3.7
Description An issue in the futures-util crate can cause a data race for certain closure situations in safe code. The affected versions had a Send/Sync implementation for MappedMutexGuard that only considered variance on T, while MappedMutexGuard dereferenced to U. This could have led to data races in safe Rust code when a closure used in MutexGuard::map() returns U that is unrelated to T.
Recommendations For versions prior to 0.3.7, update to version 0.3.7 or later to fix the issue by correcting the Send and Sync implementations and adding a PhantomData<&'a mut U> marker to the MappedMutexGuard type.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-RH4W-94HH-9943
OPENSUSE-SU-2024:11751-1
RUSTSEC-2020-0059
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾