{"id":"CVE-2020-36206","aliases":["CVE-2020-36206","GHSA-9mxw-4856-9cm5","RUSTSEC-2020-0098"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in rusb","summary":"An issue was discovered in the rusb crate before 0.7.0 for Rust. Because of a lack of Send and Sync bounds, a data race and memory corruption can occur.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the rusb crate before 0.7.0 for Rust. Because of a lack of Send and Sync bounds, a data race and memory corruption can occur.","source":"cvelist"},{"lang":"en","text":"Affected versions of rusb did not require UsbContext to implement Send and Sync. However, through Device and DeviceHandle it is possible to use UsbContexts across threads. This issue allows non-thread safe UsbContext types to be used concurrently leading to data races and memory corruption. The issue was fixed by adding Send and Sync bounds to UsbContext.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of `rusb` did not require `UsbContext` to implement `Send`\nand `Sync`. However, through `Device` and `DeviceHandle` it is possible to use\n`UsbContext`s across threads.\n\nThis issue allows non-thread safe `UsbContext` types to be used concurrently\nleading to data races and memory corruption.\n\nThe issue was fixed by adding `Send` and `Sync` bounds to `UsbContext`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate rusb versiones anteriores a 0.7.0 para Rust.&#xa0;Debido a una falta de límites de Send y Sync, una carrera de datos y corrupción de la memoria puede ocurrir","source":"nvd"}],"published":"2020-12-18T12:00:00.000Z","modified":"2026-06-17T03:15:00.413Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-662","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"crates.io","package":"rusb","purl":"pkg:cargo/rusb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.7.0"}],"ecosystem":"crates.io","package":"rusb","purl":"pkg:cargo/rusb","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.7.0"}],"vendor":"rusb_project","product":"rusb","cpe":"cpe:2.3:a:rusb_project:rusb:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0098.html","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36206","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/a1ien/rusb/issues/44","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/a1ien/rusb","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/rusb","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36206","url":"https://www.cve.org/CVERecord?id=CVE-2020-36206","licence":"CVE Terms of Use","modified":"2024-08-04T17:23:09.511Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mxw-4856-9cm5","url":"https://github.com/advisories/GHSA-9mxw-4856-9cm5","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:41.476Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0098","url":"https://rustsec.org/advisories/RUSTSEC-2020-0098.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:41.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36206","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36206","licence":"Public domain","modified":"2026-06-17T03:15:00.413Z"}],"updatedAt":"2026-11-25T22:57:57.190Z","epss":{"score":0.00289,"percentile":0.23056,"date":"2026-12-01T12:00:22.000Z"}}