RUSTSEC-2020-0087
Dashboard / Vulnerabilities / RUSTSEC-2020-0087
RUSTSEC-2020-0087
Published: 17 Nov 2020Last Modified: 8 Nov 2023
Aliases:
Summary: TryMutex<T> allows sending non-Send type across threads
Details: Affected versions of this crate unconditionally implemented Sync trait for `TryMutex<T>` type. This allows users to put non-Send `T` type in `TryMutex` and send it to another thread, which can cause a data race. The flaw was corrected in the 0.3.0 release by adding `T: Send` bound for the Sync trait implementation.
References: https://crates.io/crates/try-mutex, https://rustsec.org/advisories/RUSTSEC-2020-0087.html, https://github.com/mpdn/try-mutex/issues/2
Affected packages
Package
Name: try-mutex
Purl: pkg:cargo/try-mutex
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.3.0
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
