CVE-2020-36437
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
conqueue (crates.io)before 0.4.0, from 0.0.0-0 before 0.4.0GitHub Advisory Database, RustSec Advisory Database
conqueue_project conqueuebefore 0.4.0NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2020-36437 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-368f-29c3-4f2r changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0117 changed 2023-11-08CC0-1.0
NVDCVE-2020-36437 changed 2026-06-17Public domain