CVE-2020-35886
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
arr (crates.io)up to 0.6.1, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database
arr_project arrup to 2020-08-25NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD1.9low CVSS:2.0AV: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,

  1. It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
  2. Index and IndexMut implementation does not check the array bound.
  3. Array::new_from_template() drops uninitialized memory.
RustSec Advisory Database

arr crate contains multiple security issues. Specifically,

  1. It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
  2. Index and IndexMut implementation does not check the array bound.
  3. 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

Related

Sources

SourceRecordLicence
CVE ListCVE-2020-35886 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-36xw-hgfv-jwm7 changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-c7fw-cr3w-wvfc changed 2024-03-15CC-BY-4.0
GitHub Advisory DatabaseGHSA-fhvj-7f9p-w788 changed 2024-03-15CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2020-0034 changed 2024-03-15CC0-1.0
NVDCVE-2020-35886 changed 2026-06-17Public domain