PT-2020-17540

CVE-2020-35908

·

Published

2020-01-24

·

Updated

2022-05-24

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/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.2
Description The issue concerns the FuturesUnordered structure in the futures-util crate, where an unsound Sync implementation can lead to data corruption due to mishandled synchronization. Specifically, the use of a Cell for interior mutability without proper access synchronization to the underlying task list's length and head can cause incorrect values to be seen by multiple threads modifying the list simultaneously.
Recommendations For versions prior to 0.3.2, update to version 0.3.2 or later to fix the issue by adding access synchronization code around task insertion into the list.
Exploitability
Fix
Vendors
Affected products
Related identifiers
GHSA-5R9G-J7JJ-HW6C
RUSTSEC-2020-0062
Found an issue in the description? Have something to add? Feel free to write us 👾