5.9medium
Data race in disrustor
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.98% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-w9r2-qrpm-4rmjRUSTSEC-2020-0150
Description
An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| disrustor (crates.io) | before 0.3.0, from 0.0.0-0 before 0.3.0 | GitHub Advisory Database, RustSec Advisory Database |
| disrustor_project disrustor | up to 2020-12-17 | 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 disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.
RustSec Advisory Database
The RingBuffer type retrieves mutable references from the DataProvider in a
non-atomic manner, potentially allowing the creation of multiple mutable
references. RingBuffer also implements the Send and Sync traits for all
types T.
This allows undefined behavior from the aliased mutable references as well as data races.
NVD (es)
Se ha detectado un problema en la crate disrustor hasta el 17-12-2020 para Rust. La función RingBuffer no limita apropiadamente el número de referencias mutables
References
| https://rustsec.org/advisories/RUSTSEC-2020-0150.html | advisory, exploit, issue-tracking, patch, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/disrustor/RUSTSEC-2020-0150.md | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36470 | advisory | |
| https://github.com/sklose/disrustor/issues/1 | report, web | |
| https://github.com/sklose/disrustor/commit/0be7aed40adbac51a50a3b95c815349a40d79ca6 | web | |
| https://github.com/sklose/disrustor | package | |
| https://crates.io/crates/disrustor | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36470 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w9r2-qrpm-4rmj changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0150 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36470 changed 2026-06-17 | Public domain |