{"id":"CVE-2020-36215","aliases":["CVE-2020-36215","GHSA-rw2c-c256-3r53","RUSTSEC-2020-0107"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in hashconsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate hashconsing versiones anteriores a 1.1.0 para Rust.&#xa0;Debido a que HConsed no posee límites en su atributo Send o Sync, una corrupción de la memoria puede ocurrir","source":"nvd"}],"published":"2020-11-10T12:00:00.000Z","modified":"2026-06-17T03:15:01.707Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-662","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.0"}],"ecosystem":"crates.io","package":"hashconsing","purl":"pkg:cargo/hashconsing","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"1.1.0"}],"ecosystem":"crates.io","package":"hashconsing","purl":"pkg:cargo/hashconsing","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"1.1.0"}],"vendor":"hashconsing_project","product":"hashconsing","cpe":"cpe:2.3:a:hashconsing_project:hashconsing:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0107.html","tags":["advisory","exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36215","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/AdrienChampion/hashconsing/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/AdrienChampion/hashconsing","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/hashconsing","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36215","url":"https://www.cve.org/CVERecord?id=CVE-2020-36215","licence":"CVE Terms of Use","modified":"2024-08-04T17:23:09.649Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rw2c-c256-3r53","url":"https://github.com/advisories/GHSA-rw2c-c256-3r53","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:41.965Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0107","url":"https://rustsec.org/advisories/RUSTSEC-2020-0107.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:41.965Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36215","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36215","licence":"Public domain","modified":"2026-06-17T03:15:01.707Z"}],"updatedAt":"2026-11-25T22:57:57.193Z","epss":{"score":0.01377,"percentile":0.72876,"date":"2026-12-01T12:00:22.000Z"}}