GHSA-64j8-7gp2-xjx5MediumCVSS 5.5

Data races in try-mutex

Published
August 25, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

Affected versions of this crate unconditionally implemented Sync trait for TryMutex 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.

🎯 Affected products1

  • rust/try-mutex:< 0.3.0

🔗 References (4)