{"id":"CVE-2017-20004","aliases":["DEBIAN-CVE-2017-20004","EUVD-2017-11019","GHSA-9pmw-f3q3-5rcf","UBUNTU-CVE-2017-20004"],"status":"published","title":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the...","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00799,"percentile":0.56795,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2021-04-14T06:10:13Z","modified":"2026-10-24T10:47:32Z","fixes":[{"ecosystem":"Debian:12","package":"rustc","fixed_in":["1.19.0+dfsg3-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rustc","fixed_in":["1.19.0+dfsg3-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rustc","fixed_in":["1.19.0+dfsg3-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"rustc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0+dfsg3-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rustc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0+dfsg3-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rustc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0+dfsg3-2"}]}]}],"products":[{"vendor":"rust-lang","product":"rust"}],"references":[{"url":"https://github.com/rust-lang/rust/issues/41622","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/rust-lang/rust/pull/41624","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20004"},{"url":"https://github.com/advisories/GHSA-9pmw-f3q3-5rcf"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-20004","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-20004","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20004","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-20004","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2021-04-14T06:10:13Z","modified":"2024-08-05T21:45:24.553Z","updated_at":"2026-11-02T14:33:11.59359Z"}],"euvd":[{"id":"EUVD-2017-11019","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2021-04-14T06:10:13Z","modified":"2024-08-05T21:45:24Z","updated_at":"2026-11-03T02:23:04.143753Z"}],"ghsa":[{"id":"GHSA-9pmw-f3q3-5rcf","title":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the...","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2022-05-24T17:47:31Z","modified":"2024-04-04T03:06:07Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:56:13.784244Z"}],"nvd":[{"id":"CVE-2017-20004","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2021-04-14T07:15:11.493Z","modified":"2026-06-17T01:14:54.46Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:04:21.160774Z"}],"osv":[{"id":"CVE-2017-20004","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2021-04-14T07:15:11.493Z","modified":"2026-10-24T10:47:32.738777645Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-20004","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"published","published":"2021-04-14T07:15:11.493Z","modified":"2026-09-01T20:03:47.219060903Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:29.100767Z"},{"id":"UBUNTU-CVE-2017-20004","description":"In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.","status":"withdrawn","published":"2021-04-14T07:15:00Z","modified":"2025-07-16T08:13:10.077689Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:14.977781Z"}]}}
