CVE-2020-36470
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
disrustor (crates.io)before 0.3.0, from 0.0.0-0 before 0.3.0GitHub Advisory Database, RustSec Advisory Database
disrustor_project disrustorup to 2020-12-17NVD

All scores

GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
RustSec Advisory Database5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-36470 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-w9r2-qrpm-4rmj changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0150 changed 2023-11-08CC0-1.0
NVDCVE-2020-36470 changed 2026-06-17Public domain