CVE-2021-32810Crossbeam Project Crossbeam
Critical 9.8 No auth needed
Follow: this CVE · Crossbeam Project · Crossbeam Project Crossbeam We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Aug 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-362
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Crossbeam.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | crossbeam-deque |
< 0.7.4 |
0.7.4 |
cargo update -p crossbeam-deque --precise 0.7.4 |
| crates.io | crossbeam-deque |
≥ 0.8.0 < 0.8.1 |
0.8.1 |
cargo update -p crossbeam-deque --precise 0.8.1 |
| crates.io | crossbeam-deque |
≥ 0.0.0-0 < 0.7.4 |
0.7.4 |
cargo update -p crossbeam-deque --precise 0.7.4 |
| crates.io | crossbeam-deque |
≥ 0.8.0 < 0.8.1 |
0.8.1 |
cargo update -p crossbeam-deque --precise 0.8.1 |
Per OSV / GitHub Advisories (GHSA-pqqp-xmhj-wgcw, RUSTSEC-2021-0093). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| crossbeam_project | crossbeam | < 0.7.4 |
| crossbeam_project | crossbeam | ≥ 0.8.0 < 0.8.1 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org