Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY0ajgtN2dwMi14ang1

Data races in try-mutex

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.

Permalink: https://github.com/advisories/GHSA-64j8-7gp2-xjx5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY0ajgtN2dwMi14ang1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: over 1 year ago


CVSS Score: 5.5
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-64j8-7gp2-xjx5, CVE-2020-35924
References: Repository: https://github.com/mpdn/try-mutex
Blast Radius: 1.7

Affected Packages

cargo:try-mutex
Dependent packages: 3
Dependent repositories: 2
Downloads: 9,571 total
Affected Version Ranges: < 0.3.0
Fixed in: 0.3.0
All affected versions: 0.1.0, 0.1.1, 0.2.0
All unaffected versions: 0.3.0, 0.4.0, 0.4.1, 0.4.2