GHSA-4hjg-cx88-g9f9
Dashboard / Vulnerabilities / GHSA-4hjg-cx88-g9f9
GHSA-4hjg-cx88-g9f9
Summary: Data races in futures-intrusive
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-35915, https://github.com/Matthias247/futures-intrusive/issues/53, https://github.com/Matthias247/futures-intrusive, https://rustsec.org/advisories/RUSTSEC-2020-0072.html
Affected packages
Package
Name: futures-intrusive
Purl: pkg:cargo/futures-intrusive
Affected ranges
Type: SEMVER
Events:
