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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| v9 (crates.io) | before 0.1.43, from 0.0.0-0 before 0.1.43 | GitHub Advisory Database, RustSec Advisory Database |
| v9_project v9 | up to 0.1.41 | NVD |
All scores
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV: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
| https://rustsec.org/advisories/RUSTSEC-2020-0127.html | advisory, exploit, third-party-advisory, web | |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/v9/RUSTSEC-2020-0127.md | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-36447 | advisory | |
| https://github.com/purpleposeidon/v9/issues/1 | report, web | |
| https://github.com/purpleposeidon/v9/commit/18847c50e5d36561cc91c996c3539ddb1eacf6c7 | web | |
| https://github.com/purpleposeidon/v9 | package | |
| https://crates.io/crates/v9 | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-36447 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3837-87vh-xq3w changed 2023-11-08 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-pfjq-935c-4895 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0127 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2020-36447 changed 2026-06-17 | Public domain |