Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. arr
  4. ›
  5. CVE-2020-35886

CVE-2020-35886: Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr

August 25, 2021 (updated June 13, 2023)

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.

References

  • github.com/advisories/GHSA-c7fw-cr3w-wvfc
  • github.com/sjep/array
  • github.com/sjep/array/issues/1
  • nvd.nist.gov/vuln/detail/CVE-2020-35886
  • rustsec.org/advisories/RUSTSEC-2020-0034.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35886 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.6.1

Solution

Unfortunately, there is no solution available yet.

Impact 4.7 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

cargo/arr/CVE-2020-35886.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.