CVE-2020-35886
4.7medium
Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr
- Severity
- 4.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 5% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-36xw-hgfv-jwm7GHSA-c7fw-cr3w-wvfcGHSA-fhvj-7f9p-w788RUSTSEC-2020-0034
Description
An issue was discovered in the arr crate through 2020-08-25 for Rust. An attacker can smuggle non-Sync/Send types across a thread boundary to cause a data race.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| arr (crates.io) | up to 0.6.1, from 0.0.0-0 | GitHub Advisory Database, RustSec Advisory Database |
| arr_project arr | up to 2020-08-25 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 1.9low CVSS:2.0 | AV:L/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
An issue was discovered in the arr crate through 2020-08-25 for Rust. An attacker can smuggle non-Sync/Send types across a thread boundary to cause a data race.
GitHub Advisory Database
arr crate contains multiple security issues. Specifically,
- It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
- Index and IndexMut implementation does not check the array bound.
- Array::new_from_template() drops uninitialized memory.
RustSec Advisory Database
arr crate contains multiple security issues. Specifically,
- It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
IndexandIndexMutimplementation does not check the array bound.Array::new_from_template()drops uninitialized memory.
NVD (es)
Se detectó un problema en la crate arr hasta el 25-08-2020 para Rust. Un atacante puede pasar un tráfico no autorizado de tipos non-Sync/Send por medio de un límite del subproceso para causar una carrera de datos.
References
| https://rustsec.org/advisories/RUSTSEC-2020-0034.html | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35888 | advisory | |
| https://github.com/sjep/array/issues/1 | report, web | |
| https://github.com/sjep/array | package | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35886 | advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-35887 | advisory | |
| https://crates.io/crates/arr | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-35886 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-36xw-hgfv-jwm7 changed 2024-03-15 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-c7fw-cr3w-wvfc changed 2024-03-15 | CC-BY-4.0 |
| GitHub Advisory Database | GHSA-fhvj-7f9p-w788 changed 2024-03-15 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2020-0034 changed 2024-03-15 | CC0-1.0 |
| NVD | CVE-2020-35886 changed 2026-06-17 | Public domain |