CVEfocus › CVE database › CVE-2021-32810

CVE-2021-32810Data race in crossbeam-deque

CVSS 9.8 CriticalEPSS 1.9% (higher than 80% of CVEs)Published 2021-08-02Updated 2024-08-03Assigner: GitHub_M

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.

CWE-362

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

42Fixed
3Fix pending
1Under investigation
2Will not fix
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rust-crossbeam-dequeNot affected
vulnerable_code_not_present
Ubuntu 25.10rust-crossbeam-dequeNot affected
vulnerable_code_not_present
Ubuntu 24.04rust-crossbeam-dequeNot affected
vulnerable_code_not_present
Ubuntu 22.04rust-crossbeam-dequeUnder investigationUBUNTU-CVE-2021-32810
Ubuntu 20.04firefoxFixed93.0+build1-0ubuntu0.20.04.1UBUNTU-CVE-2021-32810
Ubuntu 20.04rust-crossbeam-dequeFix pendingUBUNTU-CVE-2021-32810
Ubuntu 18.04firefoxFixed93.0+build1-0ubuntu0.18.04.1UBUNTU-CVE-2021-32810
Ubuntu 16.04firefoxFix pending
Ubuntu 14.04firefoxFix pending
Debian 14rust-crossbeam-dequeFixed0.7.4-1DEBIAN-CVE-2021-32810
Debian 13rust-crossbeam-dequeFixed0.7.4-1DEBIAN-CVE-2021-32810
Debian 12rust-crossbeam-dequeFixed0.7.4-1DEBIAN-CVE-2021-32810
Red Hat Enterprise Linux 8firefoxFixed0:91.2.0-4.el8_4RHSA-2021:3755
Red Hat Enterprise Linux 8thunderbirdFixed0:91.2.0-1.el8_4RHSA-2021:3838
Red Hat Enterprise Linux 7firefoxFixed0:91.2.0-4.el7_9RHSA-2021:3791
Red Hat Enterprise Linux 7thunderbirdFixed0:91.2.0-1.el7_9RHSA-2021:3841
Red Hat Enterprise Linux 6firefoxWill not fix
Out of support scope
Red Hat Enterprise Linux 6thunderbirdWill not fix
Out of support scope
Rocky Linux 8firefoxFixed0:91.2.0-4.el8_4RLSA-2021:3755
Rocky Linux 8thunderbirdFixed0:91.2.0-1.el8_4RLSA-2021:3838
Alpine Linux 3.24librewolfFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.23firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.23firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.23librewolfFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.23thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.22firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.22firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.22librewolfFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.22thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.21firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.21firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.21librewolfFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.21thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.20firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.20firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.20thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.19firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.19firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.19thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.18firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.18firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.18thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.17firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.17firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.17thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.16firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.16firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.16thunderbirdFixed91.3.2-r0ALPINE-CVE-2021-32810
Alpine Linux 3.15firefoxFixed93.0-r0ALPINE-CVE-2021-32810
Alpine Linux 3.15firefox-esrFixed91.2.0-r0ALPINE-CVE-2021-32810
crates.io librarycrossbeam-dequeFixed0.7.4GHSA-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.

Vendor advisories:

References

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.