CVE-2021-32810
Data race in crossbeam-deque
Reported by github_m · Published August 2, 2021
crossbeam-deque is fixed in 0.8.1 and 0.7.4 (crates.io)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| crossbeam-deque | crates.io | 0.8.1, 0.7.4 |
| firefox | Alpine | 93.0-r0 |
| thunderbird | Alpine | 91.3.2-r0 |
| firefox-esr | Alpine | 91.2.0-r0 |
| librewolf | Alpine | 93.0-r0 |
| firefox | Ubuntu:20.04:LTS | 93.0+build1-0ubuntu0.20.04.1 |
| crossbeam | crossbeam_project | 0.8.1, 0.7.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| crossbeam-rs | crossbeam | < 0.7.4, >= 0.8.0, < 0.8.1 |
| alpine | firefox | 0 |
| crates.io | crossbeam-deque | 0, 0.8.0 |
| alpine | thunderbird | 0 |
| alpine | firefox-esr | 0 |
| alpine | librewolf | 0 |
| crossbeam-rs | crossbeam | 0.8.0, 0 |
| arch | thunderbird | 0 |
| arch | firefox | 0 |
| amazon:2 | thunderbird | 0 |
Timeline
- Jul 30, 2021 CVE Published
- Aug 3, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 7, 2026 Security Advisory (9 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-32810
vulnetix vdb fixes CVE-2021-32810
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32810/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- FEDORA-2021-a5161737c3 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-537541ceae vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-5e99655cca vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-2db6c84087 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-60f0e1bb35 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-3cf88e44b4 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-67d6c34e5b vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-32c9adf002 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-e37a366b00 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-af2eb94426 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-9dc0bd0072 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-0f82e9d6d5 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-e5ec6d55bf vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-79ce3cb64a vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2021-32810 advisory
- https://github.com/advisories/GHSA-pqqp-xmhj-wgcw advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0093.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQDIBB7VR3ER52FMSMNJPAWNDO5SITCE url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XFBZWCLG7AGLJO4A7K5IMJVPLSWZ5TJP url
…and 13 more