Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWp3cGgtcXA1aC1mOXdq
Data races in bunch
An issue was discovered in the bunch crate through 2020-11-12 for Rust.
Affected versions of this crate unconditionally implements Send
/Sync
for Bunch<T>
.
This allows users to insert T: !Sync
to Bunch<T>
. It is possible to create a data race to a T: !Sync
by invoking the Bunch::get()
API (which returns &T
) from multiple threads. It is also possible to send T: !Send
to other threads by inserting T
inside Bunch<T>
and sending Bunch<T>
to another thread, allowing to create a data race by inserting types like T = Rc<_>
.
Such data races can lead to memory corruption.
Permalink: https://github.com/advisories/GHSA-jwph-qp5h-f9wjJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWp3cGgtcXA1aC1mOXdq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: almost 2 years 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.00292
EPSS Percentile: 0.69501
Identifiers: GHSA-jwph-qp5h-f9wj, CVE-2020-36450
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36450
- https://rustsec.org/advisories/RUSTSEC-2020-0130.html
- https://github.com/krl/bunch/issues/1
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/bunch/RUSTSEC-2020-0130.md
- https://github.com/advisories/GHSA-jwph-qp5h-f9wj
Blast Radius: 1.0
Affected Packages
cargo:bunch
Dependent packages: 1Dependent repositories: 0
Downloads: 1,433 total
Affected Version Ranges: <= 0.1.0
No known fixed version
All affected versions: 0.1.0