Medium, CVSS 5.5crates.ioPublished
Data races in try-mutex
CVE-2020-35924 · GHSA-64j8-7gp2-xjx5
- Affected
- crates.io try-mutex < 0.3.0
- Fixed in
- 0.3.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.