Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-32810 EUVD-2021-1828GHSA-pqqp-xmhj-wgcwRUSTSEC-2021-0093

Data race in crossbeam-deque

Published Aug 2, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
crossbeam-rs crossbeam < 0.7.4, >= 0.8.0, < 0.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-crossbeam-deque 0.7.4-1 —
Debian 13 rust-crossbeam-deque 0.7.4-1 —
Debian 12 rust-crossbeam-deque 0.7.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS rust-crossbeam-deque No fix yet —
Ubuntu 20.04 LTS firefox 93.0+build1-0ubuntu0.20.04.1 USN-5107-1
Ubuntu 20.04 LTS rust-crossbeam-deque No fix yet —
Ubuntu 18.04 LTS firefox 93.0+build1-0ubuntu0.18.04.1 USN-5107-1
ReleasePackageFixed inAdvisory
RHEL 8 firefox 91.2.0-4.el8_4 RHSA-2021:3755
RHEL 8 thunderbird 91.2.0-1.el8_4 RHSA-2021:3838
RHEL 7 firefox 91.2.0-4.el7_9 RHSA-2021:3791
RHEL 7 thunderbird 91.2.0-1.el7_9 RHSA-2021:3841
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS firefox 91.2.0-4.el8_2 RHSA-2021:3756
RHEL 8.2 EUS thunderbird 91.2.0-1.el8_2 RHSA-2021:3839
RHEL 8.1 EUS firefox 91.2.0-4.el8_1 RHSA-2021:3757
RHEL 8.1 EUS thunderbird 91.2.0-1.el8_1 RHSA-2021:3840

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 firefox 91.2.0-4.el8_4 RLSA-2021:3755
Rocky Linux 8 thunderbird 91.2.0-1.el8_4 RLSA-2021:3838
ReleasePackageFixed inAdvisory
SLES 15 SP3 MozillaFirefox 91.2.0-8.54.1 SUSE-SU-2021:3451-1
SLES 15 SP3 MozillaFirefox-branding-SLE 91-9.5.1 SUSE-SU-2021:3451-1
SLES 15 SP3 MozillaThunderbird 91.4.0-8.45.2 SUSE-SU-2021:4150-1
SLES 15 SP2 MozillaFirefox 91.2.0-8.54.1 SUSE-SU-2021:3451-1
SLES 15 SP2 MozillaFirefox-branding-SLE 91-9.5.1 SUSE-SU-2021:3451-1
SLES 15 SP2 MozillaThunderbird 91.4.0-8.45.2 SUSE-SU-2021:4150-1
SLES 15 SP1 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLES 15 SP1 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SLES 15 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLES 15 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SLES 12 SP5 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLES 12 SP3 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLES 12 SP2 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLES 11 SP4 MozillaFirefox 91.2.0-78.143.1 SUSE-SU-2021:14826-1
SLES 11 SP4 MozillaFirefox-branding-SLED 91-21.18.1 SUSE-SU-2021:14826-1
SLES for SAP 15 SP1 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLES for SAP 15 SP1 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SLES for SAP 15 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLES for SAP 15 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SLES for SAP 12 SP5 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLES for SAP 12 SP4 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLES for SAP 12 SP3 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SLE HPC 15 SP1 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLE HPC 15 SP1 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SLE HPC 15 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SLE HPC 15 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
SUSE OpenStack Cloud Crowbar 9 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SUSE OpenStack Cloud Crowbar 8 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SUSE OpenStack Cloud 9 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SUSE OpenStack Cloud 8 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SUSE HPE Helion OpenStack 8 MozillaFirefox 91.2.0-112.74.1 SUSE-SU-2021:3446-1
SUSE Enterprise Storage 6 MozillaFirefox 91.2.0-3.155.2 SUSE-SU-2021:3331-1
SUSE Enterprise Storage 6 MozillaFirefox-branding-SLE 91-4.19.1 SUSE-SU-2021:3331-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaFirefox 93.0-1.1 openSUSE-SU-2024:11570-1
openSUSE Tumbleweed MozillaThunderbird 91.2.0-1.1 openSUSE-SU-2024:11571-1
openSUSE Tumbleweed firefox-esr 128.5.1-1.1 openSUSE-SU-2024:14572-1
openSUSE Leap 15.3 MozillaFirefox 91.2.0-8.54.1 openSUSE-SU-2021:3451-1
openSUSE Leap 15.3 MozillaFirefox-branding-SLE 91-9.5.1 openSUSE-SU-2021:3451-1
openSUSE Leap 15.3 MozillaThunderbird 91.4.0-8.45.2 openSUSE-SU-2021:4150-1
openSUSE Leap 15.3 rust-cbindgen 0.19.0-1.9.1 openSUSE-SU-2021:3331-1
openSUSE Leap 15.2 MozillaFirefox 91.2.0-lp152.2.67.1 openSUSE-SU-2021:1367-1
openSUSE Leap 15.2 MozillaThunderbird 91.4.0-lp152.2.52.1 openSUSE-SU-2021:1635-1
openSUSE Leap 15.2 rust-cbindgen 0.19.0-lp152.2.7.1 openSUSE-SU-2021:1367-1
ReleasePackageFixed inAdvisory
Alpine v3.24 librewolf 93.0-r0 —
Alpine v3.23 firefox +1 93.0-r0 —
Alpine v3.23 firefox-esr 91.2.0-r0 —
Alpine v3.23 thunderbird 91.3.2-r0 —
Alpine v3.22 firefox +1 93.0-r0 —
Alpine v3.22 firefox-esr 91.2.0-r0 —
Alpine v3.22 thunderbird 91.3.2-r0 —
Alpine v3.21 firefox +1 93.0-r0 —
Alpine v3.21 firefox-esr 91.2.0-r0 —
Alpine v3.21 thunderbird 91.3.2-r0 —
Alpine v3.20 firefox 93.0-r0 —
Alpine v3.20 firefox-esr 91.2.0-r0 —
Alpine v3.20 thunderbird 91.3.2-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 firefox 93.0-r0 —
Alpine v3.19 firefox-esr 91.2.0-r0 —
Alpine v3.19 thunderbird 91.3.2-r0 —
Alpine v3.18 firefox 93.0-r0 —
Alpine v3.18 firefox-esr 91.2.0-r0 —
Alpine v3.18 thunderbird 91.3.2-r0 —
Alpine v3.17 firefox 93.0-r0 —
Alpine v3.17 firefox-esr 91.2.0-r0 —
Alpine v3.17 thunderbird 91.3.2-r0 —
Alpine v3.16 firefox 93.0-r0 —
Alpine v3.16 firefox-esr 91.2.0-r0 —
Alpine v3.16 thunderbird 91.3.2-r0 —
Alpine v3.15 firefox 93.0-r0 —
Alpine v3.15 firefox-esr 91.2.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 thunderbird 91.6.0-1.amzn2.0.1 ALAS2-2022-1818

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 firefox 91.2.0-4.0.1.el8_4 ELSA-2021-3755
Oracle Linux 8 thunderbird 91.2.0-1.0.1.el8_4 ELSA-2021-3838
Oracle Linux 7 firefox 91.2.0-4.0.1.el7_9 ELSA-2021-3791
Oracle Linux 7 thunderbird 91.2.0-1.0.1.el7_9 ELSA-2021-3841

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io crossbeam-deque < 0.7.4 0.7.4 GHSA-pqqp-xmhj-wgcw
crates.io crossbeam-deque >= 0.8.0, < 0.8.1 0.8.1 GHSA-pqqp-xmhj-wgcw
crates.io crossbeam-deque >= 0.0.0-0, < 0.7.4 · >= 0.8.0, < 0.8.1 0.7.4, 0.8.1 RUSTSEC-2021-0093

Advisories 29

References