Advisory

RUSTSEC-2020-0034

Also known as: CVE-2020-35886, CVE-2020-35887, CVE-2020-35888, GHSA-36xw-hgfv-jwm7, GHSA-c7fw-cr3w-wvfc, GHSA-fhvj-7f9p-w788

Summary

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

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

Not rated by the source.

Dates

Published
2020-08-25 12:00 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

arr

crates.io · All systems

Affected

  • introduced 0.0.0-0 (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: RustSec Advisory Database · CC0-1.0

Sources & licences