Lucene search

K
osvGoogleOSV:GHSA-PFJQ-935C-4895
HistoryAug 25, 2021 - 9:00 p.m.

Data races in v9

2021-08-2521:00:37
Google
osv.dev
7
data races
syncref
crate security
undefined behavior
concurrent invocation
multiple threads

EPSS

0.005

Percentile

76.7%

Affected versions of this crate unconditionally implement Sync for SyncRef<T>. This definition allows data races if &T is accessible through &SyncRef.

SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.

EPSS

0.005

Percentile

76.7%

Related for OSV:GHSA-PFJQ-935C-4895