CVE-2021-32810: Data race in crossbeam-deque

Published Aug 2, 2021
·
Updated

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::stealbatch, or Stealer::stealbatchandpop are affected by this issue. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.

Other sources

In the crossbeam crate, one or more tasks in the worker queue could have been be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this could have caused a double free and a memory leak.

Affected Software

36 affected componentsFixes available
Mozilla Thunderbird<91.2
91.2
Mozilla Firefox<93
93
Mozilla Firefox ESR<91.2
91.2
Crossbeam Project Crossbeam<0.7.4
Crossbeam Project Crossbeam>=0.8.0<0.8.1
Fedoraproject Fedora=34
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox<93.0-r0
93.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/firefox-esr<91.2.0-r0
91.2.0-r0
alpine/librewolf<93.0-r0
93.0-r0
alpine/librewolf<93.0-r0
93.0-r0
alpine/librewolf<93.0-r0
93.0-r0
alpine/librewolf<93.0-r0
93.0-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0
alpine/thunderbird<91.3.2-r0
91.3.2-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 91.2
  2. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 93
  3. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 91.2
  4. Upgrade

    Upgrade alpine/firefox to a version that resolves this vulnerability.

    Fixed in 93.0-r0
  5. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.2.0-r0
  6. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 93.0-r0
  7. Upgrade

    Upgrade alpine/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.3.2-r0
  8. Upgrade

    Upgrade crossbeam-deque to a version that resolves this vulnerability.

    Fixed in 0.8.1

Event History

Aug 2, 2021
CVE Published
via MITRE·06:35 PM
Data Sourced
via MITRE·06:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-32810?

CVE-2021-32810 is a vulnerability in the crossbeam crate that can result in one or more tasks in the worker queue being popped twice.

2

Which software products are affected by CVE-2021-32810?

Mozilla Thunderbird, Mozilla Firefox, Mozilla Firefox ESR, Crossbeam Project Crossbeam, and Fedora 34 are affected by CVE-2021-32810.

3

What is the severity of CVE-2021-32810?

CVE-2021-32810 has a severity rating of 9.8 (Critical).

4

How can I fix CVE-2021-32810?

To fix CVE-2021-32810, update to the latest version of the affected software products or apply the recommended patches.

5

Where can I find more information about CVE-2021-32810?

More information about CVE-2021-32810 can be found on the following references: [Link 1](https://bugzilla.mozilla.org/show_bug.cgi?id=1729813), [Link 2](https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw), [Link 3](https://www.mozilla.org/en-US/security/advisories/mfsa2021-47/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203