{"id":"CVE-2020-36215","aliases":["EUVD-2021-1877","GHSA-rw2c-c256-3r53","RUSTSEC-2020-0107"],"status":"published","title":"Data races in hashconsing","description":"An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01377,"percentile":0.72428,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-662","CWE-787"],"published":"2020-11-10T12:00:00Z","modified":"2026-06-17T03:15:01Z","fixes":[{"ecosystem":"crates.io","package":"hashconsing","fixed_in":["1.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"hashconsing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"hashconsing","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"hashconsing","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"1.1.0"}]}]}],"products":[{"vendor":"hashconsing_project","product":"hashconsing"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0107.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36215","tags":["advisory"]},{"url":"https://github.com/AdrienChampion/hashconsing/issues/1","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-rw2c-c256-3r53"},{"url":"https://github.com/AdrienChampion/hashconsing","tags":["package"]},{"url":"https://crates.io/crates/hashconsing","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36215","description":"An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.","status":"published","published":"2021-01-22T09:04:49Z","modified":"2024-08-04T17:23:09.649Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1877","description":"An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.","status":"published","published":"2021-01-22T09:04:49Z","modified":"2024-08-04T17:23:09Z","updated_at":"2026-11-03T03:07:03.484914Z"}],"ghsa":[{"id":"GHSA-rw2c-c256-3r53","title":"Data races in hashconsing","description":"Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types. This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.","status":"published","published":"2021-08-25T20:51:52Z","modified":"2023-06-22T05:03:20Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T14:36:55.184601Z"}],"nvd":[{"id":"CVE-2020-36215","description":"An issue was discovered in the hashconsing crate before 1.1.0 for Rust. Because HConsed does not have bounds on its Send trait or Sync trait, memory corruption can occur.","status":"published","published":"2021-01-26T18:15:56.333Z","modified":"2026-06-17T03:15:01.707Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T14:06:30.596418Z"}],"osv":[{"id":"GHSA-rw2c-c256-3r53","title":"Data races in hashconsing","description":"Affected versions of hashconsing implements Send/Sync for its HConsed type without restricting it to Sendable types and Syncable types. This allows non-Sync types such as Cell to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.","status":"published","published":"2021-08-25T20:51:52Z","modified":"2023-11-08T04:03:41.965428Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-662","CWE-787"],"updated_at":"2026-11-02T15:46:56.281047Z"},{"id":"RUSTSEC-2020-0107","title":"hashconsing's HConsed lacks Send/Sync bound for its Send/Sync trait.","description":"Affected versions of `hashconsing` implements `Send`/`Sync` for its `HConsed` type without restricting it to `Send`able types and `Sync`able types.\n\nThis allows non-`Sync` types such as `Cell` to be shared across threads leading to undefined behavior and memory corruption in concurrent programs.","status":"published","published":"2020-11-10T12:00:00Z","modified":"2023-11-08T04:03:41.965428Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
