~ / search / GHSA-3837-87vh-xq3w

GHSA-3837-87vh-xq3w

Data race in v9

Source: GitHub Advisory Database (reviewed) High CVE-2020-36447

Packages

EcosystemPackageAffectedFixed in
crates.io v9 < 0.1.43 0.1.43

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.