CVE-2020-36447
JSON

8.1high

Data race in v9

Severity
8.1high CVSS:3.1 by NVD
Exploit likelihood
1.06% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3837-87vh-xq3wGHSA-pfjq-935c-4895RUSTSEC-2020-0127

Description

An issue was discovered in the v9 crate through 2020-12-18 for Rust. There is an unconditional implementation of Sync for SyncRef<T>.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
v9 (crates.io)before 0.1.43, from 0.0.0-0 before 0.1.43GitHub Advisory Database, RustSec Advisory Database
v9_project v9up to 0.1.41NVD

All scores

GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

An issue was discovered in the v9 crate through 2020-12-18 for Rust. There is an unconditional implementation of Sync for SyncRef<T>.

GitHub Advisory Database

Affected versions of this crate unconditionally implement Sync for SyncRef<T>. This definition allows data races if &T is accessible through &SyncRef.

SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.

GitHub Advisory Database

Affected versions of this crate unconditionally implement Sync for SyncRef<T>. This definition allows data races if &T is accessible through &SyncRef.

SyncRef<T> derives Clone and Debug, and the default implementations of those traits access &T by invoking T::clone() & T::fmt(). It is possible to create data races & undefined behavior by concurrently invoking SyncRef<T>::clone() or SyncRef<T>::fmt() from multiple threads with T: !Sync.

NVD (es)

Se ha detectado un problema en la crate v9 hasta el 18-12-2020 para Rust. Se presenta una implementación incondicional de Sync para la función SyncRef(T)

References

Sources

SourceRecordLicence
CVE ListCVE-2020-36447 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3837-87vh-xq3w changed 2023-11-08CC-BY-4.0
GitHub Advisory DatabaseGHSA-pfjq-935c-4895 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0127 changed 2023-11-08CC0-1.0
NVDCVE-2020-36447 changed 2026-06-17Public domain