~ / search / GHSA-fhvj-7f9p-w788

GHSA-fhvj-7f9p-w788

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

Source: GitHub Advisory Database (reviewed) Critical CVE-2020-35887

Packages

EcosystemPackageAffectedFixed in
crates.io arr <= 0.6.1 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.