try-mutex
Affected
- introduced
0.0.0-0, fixed0.3.0(semver)
Fixed versions
0.3.0
Fix
- Fixed version
0.3.0cargo update -p try-mutex --precise 0.3.0
Advisory
Also known as: CVE-2020-35924, GHSA-64j8-7gp2-xjx5
TryMutex<T> allows sending non-Send type across threads
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.
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
0.0.0-0, fixed 0.3.0 (semver)0.3.0
0.3.0cargo update -p try-mutex --precise 0.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0