Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM2OGYtMjljMy00ZjJy
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>
.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTM2OGYtMjljMy00ZjJy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: over 1 year ago
CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Percentage: 0.00235
EPSS Percentile: 0.61772
Identifiers: GHSA-368f-29c3-4f2r, CVE-2020-36437
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36437
- https://rustsec.org/advisories/RUSTSEC-2020-0117.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/conqueue/RUSTSEC-2020-0117.md
- https://github.com/longshorej/conqueue/commit/1e462c32e7933821ddb26dc49fd4ffa5aeca97b8
- https://github.com/advisories/GHSA-368f-29c3-4f2r
Blast Radius: 10.9
Affected Packages
cargo:conqueue
Dependent packages: 1Dependent repositories: 22
Downloads: 161,965 total
Affected Version Ranges: < 0.4.0
Fixed in: 0.4.0
All affected versions: 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0
All unaffected versions: 0.4.0