{"id":"CVE-2020-35924","aliases":["CVE-2020-35924","GHSA-64j8-7gp2-xjx5","RUSTSEC-2020-0087"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in try-mutex","summary":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex<T> allows cross-thread sending of a non-Send type.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex<T> allows cross-thread sending of a non-Send type.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate unconditionally implemented Sync trait for `TryMutex<T>` type.\n\nThis allows users to put non-Send `T` type in `TryMutex` and send it to another thread, which can cause a data race.\n\nThe flaw was corrected in the 0.3.0 release by adding `T: Send` bound for the Sync trait implementation.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate try-mutex versiones anteriores a 0.3.0 para Rust.&#xa0;La función TryMutex(T) permite el envío entre subprocesos de un tipo non-Send .","source":"nvd"}],"published":"2020-11-17T12:00:00.000Z","modified":"2026-06-17T03:14:36.977Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.0"}],"ecosystem":"crates.io","package":"try-mutex","purl":"pkg:cargo/try-mutex","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.0"}],"ecosystem":"crates.io","package":"try-mutex","purl":"pkg:cargo/try-mutex","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.3.0"}],"vendor":"try-mutex_project","product":"try-mutex","cpe":"cpe:2.3:a:try-mutex_project:try-mutex:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0087.html","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35924","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mpdn/try-mutex/issues/2","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/mpdn/try-mutex","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/try-mutex","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35924","url":"https://www.cve.org/CVERecord?id=CVE-2020-35924","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.249Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-64j8-7gp2-xjx5","url":"https://github.com/advisories/GHSA-64j8-7gp2-xjx5","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:39.649Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0087","url":"https://rustsec.org/advisories/RUSTSEC-2020-0087.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:39.649Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35924","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35924","licence":"Public domain","modified":"2026-06-17T03:14:36.977Z"}],"updatedAt":"2026-11-25T22:57:56.659Z","epss":{"score":0.00382,"percentile":0.34322,"date":"2026-12-02T12:00:21.000Z"}}