GitHub Advisory Database
GHSA-c7fw-cr3w-wvfc
Multiple security issues including data race, buffer overflow, and uninitialized memory drop in arr
Details
arr crate contains multiple security issues. Specifically,
- It incorrectly implements Sync/Send bounds, which allows to smuggle non-Sync/Send types across the thread boundary.
- Index and IndexMut implementation does not check the array bound.
- Array::new_from_template() drops uninitialized memory.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | arr | All versions up to and including 0.6.1 |