Files
vuln-osv/data/crates.io/GHSA-368f-29c3-4f2r.json
T

1 line
1.7 KiB
JSON

{"schema_version":"1.9.0","id":"GHSA-368f-29c3-4f2r","published":"2021-08-25T20:58:50Z","modified":"2023-11-08T04:03:44.783101Z","aliases":["CVE-2020-36437","RUSTSEC-2020-0117"],"summary":"Data race in conqueue","details":"Affected versions of this crate unconditionally implemented `Send`/`Sync` for `QueueSender<T>`, allowing 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. The 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"},{"fixed":"0.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-368f-29c3-4f2r/GHSA-368f-29c3-4f2r.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36437"},{"type":"WEB","url":"https://github.com/longshorej/conqueue/commit/1e462c32e7933821ddb26dc49fd4ffa5aeca97b8"},{"type":"PACKAGE","url":"https://github.com/longshorej/conqueue"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/conqueue/RUSTSEC-2020-0117.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0117.html"}],"database_specific":{"cwe_ids":["CWE-119","CWE-362"],"github_reviewed":true,"github_reviewed_at":"2021-08-10T17:36:54Z","nvd_published_at":"2021-08-08T06:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}