{"id":"CVE-2020-36470","aliases":["EUVD-2021-1911","GHSA-w9r2-qrpm-4rmj","RUSTSEC-2020-0150"],"status":"published","title":"Data race in disrustor","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00978,"percentile":0.6262,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2020-12-17T12:00:00Z","modified":"2026-06-17T03:15:33Z","fixes":[{"ecosystem":"crates.io","package":"disrustor","fixed_in":["0.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"disrustor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"disrustor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"disrustor","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0"}]}]}],"products":[{"vendor":"disrustor_project","product":"disrustor"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0150.html","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/disrustor/RUSTSEC-2020-0150.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36470","tags":["advisory"]},{"url":"https://github.com/sklose/disrustor/issues/1","tags":["web","report"]},{"url":"https://github.com/sklose/disrustor/commit/0be7aed40adbac51a50a3b95c815349a40d79ca6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w9r2-qrpm-4rmj"},{"url":"https://github.com/sklose/disrustor","tags":["package"]},{"url":"https://crates.io/crates/disrustor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36470","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","status":"published","published":"2021-08-08T05:11:38Z","modified":"2024-08-04T17:30:08.092Z","updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2021-1911","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","status":"published","published":"2021-08-08T05:11:38Z","modified":"2024-08-04T17:30:08Z","updated_at":"2026-11-03T03:07:02.510914Z"}],"ghsa":[{"id":"GHSA-w9r2-qrpm-4rmj","title":"Data race in disrustor","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","status":"published","published":"2021-08-25T20:56:59Z","modified":"2023-01-24T19:02:15Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:36:14.825433Z"}],"nvd":[{"id":"CVE-2020-36470","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","status":"published","published":"2021-08-08T06:15:08.303Z","modified":"2026-06-17T03:15:33.64Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:44.292752Z"}],"osv":[{"id":"GHSA-w9r2-qrpm-4rmj","title":"Data race in disrustor","description":"An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.","status":"published","published":"2021-08-25T20:56:59Z","modified":"2023-11-08T04:03:46.808812Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:58.401149Z"},{"id":"RUSTSEC-2020-0150","title":"RingBuffer can create multiple mutable references and cause data races","description":"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.","status":"published","published":"2020-12-17T12:00:00Z","modified":"2023-11-08T04:03:46.808812Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
