Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXI2MjYtZmM2NC0zcTI4
Data race in abox
Affected versions of this crate implements Send
/Sync
for AtomicBox<T>
without requiring T: Send
/T: Sync
. This allows to create data races to T: !Sync
and send T: !Send
to another thread. Such behavior breaks the compile-time thread safety guarantees of Rust, and allows users to incur undefined behavior using safe Rust (e.g. memory corruption from data race). The flaw was corrected in commit 34c2b9e
by adding trait bound T: Send
to Send
impl for AtomicBox<T>
and trait bound T: Sync
to Sync
impl for AtomicBox<T>
.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXI2MjYtZmM2NC0zcTI4
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-r626-fc64-3q28, CVE-2020-36441
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36441
- https://github.com/SonicFrog/abox/issues/1
- https://github.com/SonicFrog/abox/pull/2
- https://rustsec.org/advisories/RUSTSEC-2020-0121.html
- https://github.com/SonicFrog/abox/commit/34c2b9e
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/abox/RUSTSEC-2020-0121.md
- https://github.com/advisories/GHSA-r626-fc64-3q28
Blast Radius: 0.0
Affected Packages
cargo:abox
Dependent packages: 1Dependent repositories: 1
Downloads: 7,090 total
Affected Version Ranges: < 0.4.1
Fixed in: 0.4.1
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0
All unaffected versions: 0.4.1