8.1high
Data race in conqueue
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.85% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-368f-29c3-4f2rRUSTSEC-2020-0117
Description
An issue was discovered in the conqueue crate before 0.4.0 for Rust. There are unconditional implementations of Send and Sync for QueueSender<T>.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| conqueue (crates.io) | before 0.4.0, from 0.0.0-0 before 0.4.0 | GitHub Advisory Database, RustSec Advisory Database |
| conqueue_project conqueue | before 0.4.0 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
An issue was discovered in the conqueue crate before 0.4.0 for Rust. There are unconditional implementations of Send and Sync for QueueSender<T>.
GitHub Advisory Database
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>.
RustSec Advisory Database
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>.
NVD (es)
Se ha detectado un problema en la crate conqueue versiones anteriores a 0.4.0 para Rust. Se presentan implementaciones incondicionales de Send y Sync para la función QueueSender(T)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36437 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-368f-29c3-4f2r changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0117 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36437 changed 2026-06-17 | Public domain |