logo

CVE-2020-35924 try-mutex

Package

Manager: cargo
Name: try-mutex
Vulnerable Version: >=0 <0.3.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00054 pctl0.16661

Details

Data races in try-mutex 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.

Metadata

Created: 2021-08-25T20:50:28Z
Modified: 2023-06-13T22:26:24Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-64j8-7gp2-xjx5/GHSA-64j8-7gp2-xjx5.json
CWE IDs: ["CWE-787"]
Alternative ID: GHSA-64j8-7gp2-xjx5
Finding: F111
Auto approve: 1