{"id":"CVE-2020-36436","aliases":["CVE-2020-36436","GHSA-686f-ch3r-xwmh","RUSTSEC-2020-0116"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in unicycle","summary":"An issue was discovered in the unicycle crate before 0.7.1 for Rust. PinSlab<T> and Unordered<T, S> do not have bounds on their Send and Sync traits.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the unicycle crate before 0.7.1 for Rust. PinSlab<T> and Unordered<T, S> do not have bounds on their Send and Sync traits.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate unconditionally implemented `Send` & `Sync` for types `PinSlab<T>` & `Unordered<T, S>`. This allows sending non-Send types to other threads and concurrently accessing non-Sync types from multiple threads.\n\nThis can result in a data race & memory corruption when types that provide internal mutability without synchronization are contained within `PinSlab<T>` or `Unordered<T, S>` and accessed concurrently from multiple threads.\n\nThe flaw was corrected in commits 92f40b4 & 6a6c367 by adding trait bound `T: Send` to `Send` impls for `PinSlab<T>` & `Unordered<T, S>` and adding `T: Sync` to `Sync` impls for `PinSlab<T>` & `Unordered<T, S>`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate unicycle versiones anteriores a 0.7.1 para Rust. Las funciones PinSlab(T) y Unordered(T, S) no presenten límites en sus rasgos Send y Sync","source":"nvd"}],"published":"2020-11-15T12:00:00.000Z","modified":"2026-06-17T03:15:29.300Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-119","CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.1"}],"ecosystem":"crates.io","package":"unicycle","purl":"pkg:cargo/unicycle","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.7.1"}],"ecosystem":"crates.io","package":"unicycle","purl":"pkg:cargo/unicycle","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.7.1"}],"vendor":"unicycle_project","product":"unicycle","cpe":"cpe:2.3:a:unicycle_project:unicycle:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0116.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/unicycle/RUSTSEC-2020-0116.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36436","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/udoprog/unicycle/issues/8","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/udoprog/unicycle/commit/6a6c367a0c25f86f998fa315ea90c328f685b194","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/udoprog/unicycle/commit/92f40b4a2c671553dfa96feacff0265206c44ce5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/udoprog/unicycle","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/unicycle","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36436","url":"https://www.cve.org/CVERecord?id=CVE-2020-36436","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.159Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-686f-ch3r-xwmh","url":"https://github.com/advisories/GHSA-686f-ch3r-xwmh","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.721Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0116","url":"https://rustsec.org/advisories/RUSTSEC-2020-0116.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:44.721Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36436","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36436","licence":"Public domain","modified":"2026-06-17T03:15:29.300Z"}],"updatedAt":"2026-11-25T22:57:58.283Z","epss":{"score":0.00766,"percentile":0.56678,"date":"2026-12-01T12:00:22.000Z"}}