{"id":"CVE-2020-36204","aliases":["EUVD-2021-1838","GHSA-q9h2-4xhf-23xx","RUSTSEC-2020-0096"],"status":"published","title":"Data races in im","description":"An issue was discovered in the im crate through 2020-11-09 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00336,"percentile":0.2723,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-662"],"published":"2020-11-09T12:00:00Z","modified":"2026-06-17T03:15:00Z","fixes":[{"ecosystem":"crates.io","package":"im","fixed_in":["15.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"im","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12.0.0"},{"fixed":"15.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"im","ranges":[{"type":"SEMVER","events":[{"introduced":"12.0.0"},{"fixed":"15.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"im","ranges":[{"type":"SEMVER","events":[{"introduced":"12.0.0"},{"fixed":"15.1.0"}]}]}],"products":[{"vendor":"im_project","product":"im"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0096.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36204","tags":["advisory"]},{"url":"https://github.com/bodil/im-rs/issues/157","tags":["web","report"]},{"url":"https://github.com/bodil/im-rs/pull/158","tags":["web"]},{"url":"https://github.com/bodil/im-rs/releases/tag/v15.1.0","tags":["web"]},{"url":"https://github.com/bodil/im-rs/commit/0b3a7b228b0fe70446393f55c8b893f349f3f6bd","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q9h2-4xhf-23xx"},{"url":"https://github.com/bodil/im-rs","tags":["package"]},{"url":"https://crates.io/crates/im","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36204","description":"An issue was discovered in the im crate through 2020-11-09 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","status":"published","published":"2021-01-22T09:07:26Z","modified":"2024-08-04T17:23:09.371Z","updated_at":"2026-11-02T14:35:54.80237Z"}],"euvd":[{"id":"EUVD-2021-1838","description":"An issue was discovered in the im crate through 2020-11-09 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","status":"published","published":"2021-01-22T09:07:26Z","modified":"2024-08-04T17:23:09Z","updated_at":"2026-11-03T03:07:03.484914Z"}],"ghsa":[{"id":"GHSA-q9h2-4xhf-23xx","title":"Data races in im","description":"An issue was discovered in the im crate prior to 15.1.0 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","status":"published","published":"2021-08-25T20:51:36Z","modified":"2023-05-01T20:36:10Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-662"],"updated_at":"2026-11-02T14:36:52.310293Z"}],"nvd":[{"id":"CVE-2020-36204","description":"An issue was discovered in the im crate through 2020-11-09 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","status":"published","published":"2021-01-26T18:15:55.6Z","modified":"2026-06-17T03:15:00.157Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"updated_at":"2026-11-02T14:06:30.596418Z"}],"osv":[{"id":"GHSA-q9h2-4xhf-23xx","title":"Data races in im","description":"An issue was discovered in the im crate prior to 15.1.0 for Rust. Because TreeFocus does not have bounds on its Send trait or Sync trait, a data race can occur.","status":"published","published":"2021-08-25T20:51:36Z","modified":"2023-11-08T04:03:41.356226Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-662"],"updated_at":"2026-11-02T15:46:54.40888Z"},{"id":"RUSTSEC-2020-0096","title":"TreeFocus lacks bounds on its Send and Sync traits","description":"Affected versions of `im` contains `TreeFocus` that unconditionally implements `Send` and `Sync`.\n\nThis allows a data race in safe Rust code if `TreeFocus` is extracted from `Focus` type.\nTypical users that only use `Focus` type are not affected.","status":"published","published":"2020-11-09T12:00:00Z","modified":"2023-11-08T04:03:41.356226Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
