RUSTSEC-2021-0093
Dashboard / Vulnerabilities / RUSTSEC-2021-0093
RUSTSEC-2021-0093
Summary: Data race in crossbeam-deque
Details: In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. Credits to [@kmaork](https://github.com/kmaork) for discovering, reporting and fixing the bug.
References: https://crates.io/crates/crossbeam-deque, https://rustsec.org/advisories/RUSTSEC-2021-0093.html, https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw
Affected packages
Package
Name: crossbeam-deque
Purl: pkg:cargo/crossbeam-deque
Affected ranges
Type: SEMVER
Events:
