Vulnerability in Crossbeam Project
CVE-2021-32810
crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, 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. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.019, 80.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Crossbeam Project
- Crossbeam-Rs Crossbeam — versions < 0.7.4, >= 0.8.0, < 0.8.1
- Fedoraproject Fedora — versions 34
Weakness classification (CWE)
References
- github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw (Third Party Advisory)
- FEDORA-2021-a5161737c3 (vendor-advisory)
- FEDORA-2021-537541ceae (vendor-advisory)
- FEDORA-2021-5e99655cca (vendor-advisory)
- FEDORA-2021-2db6c84087 (vendor-advisory)
- FEDORA-2021-60f0e1bb35 (vendor-advisory)
- FEDORA-2021-3cf88e44b4 (vendor-advisory)
- FEDORA-2021-67d6c34e5b (vendor-advisory)
- FEDORA-2021-32c9adf002 (vendor-advisory)
- FEDORA-2021-e37a366b00 (vendor-advisory)