{"id":"CVE-2020-35924","aliases":["EUVD-2021-1589","GHSA-64j8-7gp2-xjx5","RUSTSEC-2020-0087"],"status":"published","title":"Data races in try-mutex","description":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex\u003cT\u003e allows cross-thread sending of a non-Send type.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00382,"percentile":0.32646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2020-11-17T12:00:00Z","modified":"2026-06-17T03:14:36Z","fixes":[{"ecosystem":"crates.io","package":"try-mutex","fixed_in":["0.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"try-mutex","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"try-mutex","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"try-mutex","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0"}]}]}],"products":[{"vendor":"try-mutex_project","product":"try-mutex"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0087.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35924","tags":["advisory"]},{"url":"https://github.com/mpdn/try-mutex/issues/2","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-64j8-7gp2-xjx5"},{"url":"https://github.com/mpdn/try-mutex","tags":["package"]},{"url":"https://crates.io/crates/try-mutex","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35924","description":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex\u003cT\u003e allows cross-thread sending of a non-Send type.","status":"published","published":"2020-12-31T08:16:55Z","modified":"2024-08-04T17:16:13.249Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1589","description":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex\u003cT\u003e allows cross-thread sending of a non-Send type.","status":"published","published":"2020-12-31T08:16:55Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.595509Z"}],"ghsa":[{"id":"GHSA-64j8-7gp2-xjx5","title":"Data races in try-mutex","description":"Affected versions of this crate unconditionally implemented Sync trait for TryMutex\u003cT\u003e 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.","status":"published","published":"2021-08-25T20:50:28Z","modified":"2023-06-13T22:26:59Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:36:54.225318Z"}],"nvd":[{"id":"CVE-2020-35924","description":"An issue was discovered in the try-mutex crate before 0.3.0 for Rust. TryMutex\u003cT\u003e allows cross-thread sending of a non-Send type.","status":"published","published":"2020-12-31T09:15:16.27Z","modified":"2026-06-17T03:14:36.977Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"GHSA-64j8-7gp2-xjx5","title":"Data races in try-mutex","description":"Affected versions of this crate unconditionally implemented Sync trait for TryMutex\u003cT\u003e 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.","status":"published","published":"2021-08-25T20:50:28Z","modified":"2023-11-08T04:03:39.649741Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:39.266402Z"},{"id":"RUSTSEC-2020-0087","title":"TryMutex\u003cT\u003e allows sending non-Send type across threads","description":"Affected versions of this crate unconditionally implemented Sync trait for `TryMutex\u003cT\u003e` 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.","status":"published","published":"2020-11-17T12:00:00Z","modified":"2023-11-08T04:03:39.649741Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
