1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"schema_version":"1.7.3","id":"RUSTSEC-2020-0117","published":"2020-11-24T12:00:00Z","modified":"2023-11-08T04:03:44.783101Z","aliases":["CVE-2020-36437","GHSA-368f-29c3-4f2r"],"summary":"QueueSender<T>/QueueReceiver<T>: Send/Sync impls need `T: Send`","details":"Affected versions of this crate unconditionally implemented `Send`/`Sync` for `QueueSender<T>`,\nallowing to send non-Send `T` to other threads by invoking `(&QueueSender<T>).send()`.\n\nThis fails to prevent users from creating data races by sending types like `Rc<T>` or `Arc<Cell<T>>` to other threads, which can lead to memory corruption.\n\nThe flaw was corrected in commit 1e462c3 by imposing `T: Send` to both `Send`/`Sync` impls for `QueueSender<T>`/`QueueReceiver<T>`.","affected":[{"package":{"name":"conqueue","ecosystem":"crates.io","purl":"pkg:cargo/conqueue"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption","thread-safety"],"cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0117.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/conqueue"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0117.html"},{"type":"REPORT","url":"https://github.com/longshorej/conqueue/issues/9"}],"database_specific":{"license":"CC0-1.0"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]} |