High, CVSS 8.1crates.ioPublished
Data race in conqueue
CVE-2020-36437 · GHSA-368f-29c3-4f2r
- Affected
- crates.io conqueue < 0.4.0
- Fixed in
- 0.4.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.