GHSA-64j8-7gp2-xjx5
Dashboard / Vulnerabilities / GHSA-64j8-7gp2-xjx5
GHSA-64j8-7gp2-xjx5
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Data races in try-mutex
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://nvd.nist.gov/vuln/detail/CVE-2020-35924, https://github.com/mpdn/try-mutex/issues/2, https://github.com/mpdn/try-mutex, https://rustsec.org/advisories/RUSTSEC-2020-0087.html
Affected packages
Package
Name: try-mutex
Purl: pkg:cargo/try-mutex
Affected ranges
Type: SEMVER
Events:
Introduced- 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
