{"id":"CVE-2020-36470","aliases":["CVE-2020-36470","GHSA-w9r2-qrpm-4rmj","RUSTSEC-2020-0150"],"related":[],"kind":"vulnerability","state":"published","title":"Data race in disrustor","summary":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","source":"cvelist"},{"lang":"en","text":"The `RingBuffer` type retrieves mutable references from the `DataProvider` in a\nnon-atomic manner, potentially allowing the creation of multiple mutable\nreferences. `RingBuffer` also implements the `Send` and `Sync` traits for all\ntypes `T`.\n\nThis allows undefined behavior from the aliased mutable references as well\nas data races.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate disrustor hasta el 17-12-2020 para Rust. La función RingBuffer no limita apropiadamente el número de referencias mutables","source":"nvd"}],"published":"2020-12-17T12:00:00.000Z","modified":"2026-06-17T03:15:33.640Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.0"}],"ecosystem":"crates.io","package":"disrustor","purl":"pkg:cargo/disrustor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.3.0"}],"ecosystem":"crates.io","package":"disrustor","purl":"pkg:cargo/disrustor","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-12-17"}],"vendor":"disrustor_project","product":"disrustor","cpe":"cpe:2.3:a:disrustor_project:disrustor:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0150.html","tags":["advisory","exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/disrustor/RUSTSEC-2020-0150.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36470","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sklose/disrustor/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/sklose/disrustor/commit/0be7aed40adbac51a50a3b95c815349a40d79ca6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sklose/disrustor","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/disrustor","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36470","url":"https://www.cve.org/CVERecord?id=CVE-2020-36470","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.092Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w9r2-qrpm-4rmj","url":"https://github.com/advisories/GHSA-w9r2-qrpm-4rmj","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:46.808Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0150","url":"https://rustsec.org/advisories/RUSTSEC-2020-0150.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:46.808Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36470","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36470","licence":"Public domain","modified":"2026-06-17T03:15:33.640Z"}],"updatedAt":"2026-11-25T22:57:58.296Z","epss":{"score":0.00978,"percentile":0.63178,"date":"2026-12-01T12:00:22.000Z"}}