icon

We found results for “

WS-2020-0233

Good to know:

icon

Date: October 31, 2020

futures-intrusive crate is vulnerable before 0.4.0. GenericMutexGuard<T> 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.

Language: RUST

Severity Score

Weakness Type (CWE)

Code

CWE-17

Top Fix

icon

Upgrade Version

Upgrade to version 0.4.0

Learn More

Do you need more information?

Contact Us