MEDIUM5.5
GHSA-64j8-7gp2-xjx5
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/try-mutex
Introduced in:
0Fixed in: 0.3.0Upgrade try-mutex to 0.3.0 or newer (ecosystem crates.io).