VDB
Sign up
HIGH8.1

GHSA-3837-87vh-xq3w

Data race in v9

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/v9
Introduced in: 0Fixed in: 0.1.43

Upgrade v9 to 0.1.43 or newer (ecosystem crates.io).

References