CVE-2021-32810
Data race in crossbeam-deque
- State
- Published
- Severity
- 9.8 Critical
- Published
- Aug 2, 2021
- Updated
- Aug 3, 2024
- Reserved
- May 12, 2021
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
Weaknesses
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Products
| Product | Versions |
|---|---|
crossbeamcrossbeam-rs |
|
References
- https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw
- FEDORA-2021-a5161737c3vendor-advisory
- FEDORA-2021-537541ceaevendor-advisory
- FEDORA-2021-5e99655ccavendor-advisory
- FEDORA-2021-2db6c84087vendor-advisory
- FEDORA-2021-60f0e1bb35vendor-advisory
- FEDORA-2021-3cf88e44b4vendor-advisory
- FEDORA-2021-67d6c34e5bvendor-advisory
- FEDORA-2021-32c9adf002vendor-advisory
- FEDORA-2021-e37a366b00vendor-advisory
- FEDORA-2021-af2eb94426vendor-advisory
- FEDORA-2021-9dc0bd0072vendor-advisory
- FEDORA-2021-0f82e9d6d5vendor-advisory
- FEDORA-2021-e5ec6d55bfvendor-advisory
- FEDORA-2021-79ce3cb64avendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.