CVE-2020-36437 – conqueue
Package
Manager: cargo
Name: conqueue
Vulnerable Version: >=0 <0.4.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00336 pctl0.55773
Details
Data race in conqueue 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()`. This 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>`.
Metadata
Created: 2021-08-25T20:58:50Z
Modified: 2023-06-13T22:36:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-368f-29c3-4f2r/GHSA-368f-29c3-4f2r.json
CWE IDs: ["CWE-119", "CWE-362"]
Alternative ID: GHSA-368f-29c3-4f2r
Finding: F124
Auto approve: 1