5.9medium
Data races in multiqueue2
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.12% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-jphw-p3m6-pj3cRUSTSEC-2020-0106
Description
An issue was discovered in the multiqueue2 crate before 0.1.7 for Rust. Because a non-Send type can be sent to a different thread, a data race can occur.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| multiqueue2 (crates.io) | before 0.1.7, from 0.0.0-0 before 0.1.7 | GitHub Advisory Database, RustSec Advisory Database |
| multiqueue2_project multiqueue2 | before 0.1.7 | NVD |
All scores
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| RustSec Advisory Database | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
An issue was discovered in the multiqueue2 crate before 0.1.7 for Rust. Because a non-Send type can be sent to a different thread, a data race can occur.
GitHub Advisory Database
Affected versions of this crate unconditionally implemented Send for types used in queue implementations (InnerSend<RW, T>, InnerRecv<RW, T>, FutInnerSend<RW, T>, FutInnerRecv<RW, T>).
This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior.
The flaw was corrected in v0.1.7 by adding T: Send bound to to the Send impl of four data types explained above.
RustSec Advisory Database
Affected versions of this crate unconditionally implemented Send for types used in queue implementations (InnerSend<RW, T>, InnerRecv<RW, T>, FutInnerSend<RW, T>, FutInnerRecv<RW, T>).
This allows users to send non-Send types to other threads, which can lead to data race bugs or other undefined behavior.
The flaw was corrected in v0.1.7 by adding T: Send bound to to the Send impl of four data types explained above.
NVD (es)
Se detectó un problema en la crate multiqueue2 versiones anteriores a 0.1.7 para Rust. Dado un tipo non-Send puede ser enviado a un subproceso diferente, una carrera de datos puede ocurrir
References
| https://rustsec.org/advisories/RUSTSEC-2020-0106.html | advisory, exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36214 | advisory | |
| https://github.com/abbychau/multiqueue2/issues/10 | report, web | |
| https://github.com/abbychau/multiqueue2 | package | |
| https://crates.io/crates/multiqueue2 | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36214 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jphw-p3m6-pj3c changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0106 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36214 changed 2026-06-17 | Public domain |