{"id":"RUSTSEC-2020-0106","summary":"Queues allow non-Send types to be sent to other threads, allowing data races","details":"Affected versions of this crate unconditionally implemented `Send` for types used in queue implementations (`InnerSend\u003cRW, T\u003e`, `InnerRecv\u003cRW, T\u003e`, `FutInnerSend\u003cRW, T\u003e`, `FutInnerRecv\u003cRW, T\u003e`).\n\nThis allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior.\n\nThe flaw was corrected in v0.1.7 by adding `T: Send` bound to to the `Send` impl of four data types explained above.","aliases":["CVE-2020-36214","GHSA-jphw-p3m6-pj3c"],"modified":"2023-11-08T04:03:41.902458Z","published":"2020-12-19T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/multiqueue2"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0106.html"},{"type":"REPORT","url":"https://github.com/abbychau/multiqueue2/issues/10"}],"affected":[{"package":{"name":"multiqueue2","ecosystem":"crates.io","purl":"pkg:cargo/multiqueue2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.7"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0106.json","informational":"unsound","categories":["memory-corruption","thread-safety"],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"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"}]}