GHSA-pfjq-935c-4895
Dashboard / Vulnerabilities / GHSA-pfjq-935c-4895
GHSA-pfjq-935c-4895
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Summary: Data races 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`.
References: https://github.com/purpleposeidon/v9/issues/1, https://rustsec.org/advisories/RUSTSEC-2020-0127.html
Affected packages
Package
Name: v9
Purl: pkg:cargo/v9
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.1.43
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
