GitHub Advisoryadvisory · crates.io

GHSA-c7fw-cr3w-wvfc Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr

MEDIUM Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2020-35886
Ecosystem
crates.io
Packages
arr
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-362
Reviewed
2021-08-19

Affected packages

• crates.io arr: <= 0.6.1 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-35886 An issue was discovered in the arr crate through 2020-08-25 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References