Advisory

GHSA-fhvj-7f9p-w788

Also known as: CVE-2020-35886, CVE-2020-35887, CVE-2020-35888, GHSA-36xw-hgfv-jwm7, GHSA-c7fw-cr3w-wvfc, RUSTSEC-2020-0034

Summary

Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-08-25 20:48 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

arr

crates.io · All systems

Affected

  • introduced 0, last affected 0.6.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences