Files
advisory-db/crates/arr/RUSTSEC-2020-0034.md
2021-01-04 09:02:59 -08:00

632 B

[advisory]
id = "RUSTSEC-2020-0034"
package = "arr"
aliases = ["CVE-2020-35886", "CVE-2020-35887", "CVE-2020-35888"]
date = "2020-08-25"
url = "https://github.com/sjep/array/issues/1"

[versions]
patched = []

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

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.