Lucene search

K
osvGoogleOSV:GHSA-4HJG-CX88-G9F9
HistoryAug 25, 2021 - 8:49 p.m.

Data races in futures-intrusive

2021-08-2520:49:58
Google
osv.dev
5

0.0004 Low

EPSS

Percentile

12.8%

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.

CPENameOperatorVersion
futures-intrusivelt0.4.0

0.0004 Low

EPSS

Percentile

12.8%

Related for OSV:GHSA-4HJG-CX88-G9F9