GHSA-pfjq-935c-4895 Data races in v9
HighCVSS 8.1
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io v9(crates.io) | < 0.1.43 | 0.1.43 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io v9(crates.io) | < 0.1.43 | 0.1.43 |