{"id":"RUSTSEC-2020-0150","summary":"RingBuffer can create multiple mutable references and cause data races","details":"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.","aliases":["CVE-2020-36470","GHSA-w9r2-qrpm-4rmj"],"modified":"2023-11-08T04:03:46.808812Z","published":"2020-12-17T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/disrustor"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0150.html"},{"type":"REPORT","url":"https://github.com/sklose/disrustor/issues/1"}],"affected":[{"package":{"name":"disrustor","ecosystem":"crates.io","purl":"pkg:cargo/disrustor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.3.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0150.json","categories":["memory-corruption","thread-safety"],"informational":null}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}