CVE-2021-32810Data race in crossbeam-deque
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
Fixed builds are available from Alpine, Debian, Red Hat, Rocky Linux, Ubuntu, crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | rust-crossbeam-deque | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | rust-crossbeam-deque | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rust-crossbeam-deque | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rust-crossbeam-deque | Under investigation | UBUNTU-CVE-2021-32810 | |
| Ubuntu 20.04 | firefox | Fixed | 93.0+build1-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-32810 |
| Ubuntu 20.04 | rust-crossbeam-deque | Fix pending | UBUNTU-CVE-2021-32810 | |
| Ubuntu 18.04 | firefox | Fixed | 93.0+build1-0ubuntu0.18.04.1 | UBUNTU-CVE-2021-32810 |
| Ubuntu 16.04 | firefox | Fix pending | ||
| Ubuntu 14.04 | firefox | Fix pending | ||
| Debian 14 | rust-crossbeam-deque | Fixed | 0.7.4-1 | DEBIAN-CVE-2021-32810 |
| Debian 13 | rust-crossbeam-deque | Fixed | 0.7.4-1 | DEBIAN-CVE-2021-32810 |
| Debian 12 | rust-crossbeam-deque | Fixed | 0.7.4-1 | DEBIAN-CVE-2021-32810 |
| Red Hat Enterprise Linux 8 | firefox | Fixed | 0:91.2.0-4.el8_4 | RHSA-2021:3755 |
| Red Hat Enterprise Linux 8 | thunderbird | Fixed | 0:91.2.0-1.el8_4 | RHSA-2021:3838 |
| Red Hat Enterprise Linux 7 | firefox | Fixed | 0:91.2.0-4.el7_9 | RHSA-2021:3791 |
| Red Hat Enterprise Linux 7 | thunderbird | Fixed | 0:91.2.0-1.el7_9 | RHSA-2021:3841 |
| Red Hat Enterprise Linux 6 | firefox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix Out of support scope | ||
| Rocky Linux 8 | firefox | Fixed | 0:91.2.0-4.el8_4 | RLSA-2021:3755 |
| Rocky Linux 8 | thunderbird | Fixed | 0:91.2.0-1.el8_4 | RLSA-2021:3838 |
| Alpine Linux 3.24 | librewolf | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.23 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.23 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.23 | librewolf | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.23 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.22 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.22 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.22 | librewolf | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.22 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.21 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.21 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.21 | librewolf | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.21 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.20 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.20 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.20 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.19 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.19 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.19 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.18 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.18 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.18 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.17 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.17 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.17 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.16 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.16 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.16 | thunderbird | Fixed | 91.3.2-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.15 | firefox | Fixed | 93.0-r0 | ALPINE-CVE-2021-32810 |
| Alpine Linux 3.15 | firefox-esr | Fixed | 91.2.0-r0 | ALPINE-CVE-2021-32810 |
| crates.io library | crossbeam-deque | Fixed | 0.7.4 | GHSA-pqqp-xmhj-wgcw |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- crossbeam-rs crossbeam: affected: < 0.7.4, >= 0.8.0, < 0.8.1
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EW5B2VTDVMJ6B3DA4VLMAMW2GGDCE2BK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCIBFGBSL3JSVJQTNEDEIMZGZF23N2KE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VQZIEJQBV3S72BHD5GKJQF3NVYNRV5CF/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRPKBRXCRNGNMVFQPFD4LM3QKPEMBQQR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EZILHZDRGDPOBQ4KTW3E5PPMKLHGH5N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XFBZWCLG7AGLJO4A7K5IMJVPLSWZ5TJP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WGB2H35CTZDHOV3VLC5BM6VFGURLLVRP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CY5T3FCE4MUYSPKEWICLVJBBODGJ6SZE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AWHNNBJCU4EHA2X5ZAMJMGLDUYS5FEPP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3LSN3B43TJSFIOB3QLPBI3RCHRU5BLO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQDIBB7VR3ER52FMSMNJPAWNDO5SITCE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OCLMH7B7B2MF55ET4NQNPH7JWISFX4RT/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AYBSLIYFANZLCYWOGTIYZUM26TJRH7WU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFUBWBYCPSSXTJGEAQ67CJUNQJBOCM26/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.