CVE-2021-32810
rust-crossbeam-deque: race condition may lead to double free
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Amazon (high), Oracle (high), Rocky Linux (high), Red Hat (medium), Ubuntu (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | crossbeam-deque | 0.7.4, 0.8.1 |
| alpine 3.15 | firefox, firefox-esr | 93.0-r0 and 1 more |
| alpine 3.16 | firefox, firefox-esr, thunderbird | 93.0-r0 and 2 more |
| alpine 3.17 | firefox, firefox-esr, thunderbird | 93.0-r0 and 2 more |
| alpine 3.18 | firefox, firefox-esr, thunderbird | 93.0-r0 and 2 more |
| alpine 3.19 | firefox, firefox-esr, thunderbird | 93.0-r0 and 2 more |
| alpine 3.20 | firefox, firefox-esr, thunderbird | 93.0-r0 and 2 more |
| alpine 3.21 | firefox, firefox-esr, librewolf and 1 more | 93.0-r0 and 2 more |
| alpine 3.22 | firefox, firefox-esr, librewolf and 1 more | 93.0-r0 and 2 more |
| alpine 3.23 | firefox, firefox-esr, librewolf and 1 more | 93.0-r0 and 2 more |
| alpine 3.24 | librewolf | 93.0-r0 |
| alpine edge | librewolf | 93.0-r0 |
Show all 62 entries from 37 sources
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | crossbeam-deque | 0.7.4, 0.8.1 |
| alpine 3.15 | firefox | 93.0-r0 |
| alpine 3.15 | firefox-esr | 91.2.0-r0 |
| alpine 3.16 | firefox | 93.0-r0 |
| alpine 3.16 | firefox-esr | 91.2.0-r0 |
| alpine 3.16 | thunderbird | 91.3.2-r0 |
| alpine 3.17 | firefox | 93.0-r0 |
| alpine 3.17 | firefox-esr | 91.2.0-r0 |
| alpine 3.17 | thunderbird | 91.3.2-r0 |
| alpine 3.18 | firefox | 93.0-r0 |
| alpine 3.18 | firefox-esr | 91.2.0-r0 |
| alpine 3.18 | thunderbird | 91.3.2-r0 |
| alpine 3.19 | firefox | 93.0-r0 |
| alpine 3.19 | firefox-esr | 91.2.0-r0 |
| alpine 3.19 | thunderbird | 91.3.2-r0 |
| alpine 3.20 | firefox | 93.0-r0 |
| alpine 3.20 | firefox-esr | 91.2.0-r0 |
| alpine 3.20 | thunderbird | 91.3.2-r0 |
| alpine 3.21 | firefox | 93.0-r0 |
| alpine 3.21 | firefox-esr | 91.2.0-r0 |
| alpine 3.21 | librewolf | 93.0-r0 |
| alpine 3.21 | thunderbird | 91.3.2-r0 |
| alpine 3.22 | firefox | 93.0-r0 |
| alpine 3.22 | firefox-esr | 91.2.0-r0 |
| alpine 3.22 | librewolf | 93.0-r0 |
| alpine 3.22 | thunderbird | 91.3.2-r0 |
| alpine 3.23 | firefox | 93.0-r0 |
| alpine 3.23 | firefox-esr | 91.2.0-r0 |
| alpine 3.23 | librewolf | 93.0-r0 |
| alpine 3.23 | thunderbird | 91.3.2-r0 |
| alpine 3.24 | librewolf | 93.0-r0 |
| alpine edge | librewolf | 93.0-r0 |
| amazon linux 2 | thunderbird | 91.6.0-1.amzn2.0.1 |
| amazon linux 2 | thunderbird-debuginfo | 91.6.0-1.amzn2.0.1 |
| debian 10 | rust-crossbeam-deque | no fix listed |
| debian 11 | rust-crossbeam-deque | no fix listed |
| debian 12 | rust-crossbeam-deque | 0.7.4-1 |
| debian 13 | rust-crossbeam-deque | 0.7.4-1 |
| debian 14 | rust-crossbeam-deque | 0.7.4-1 |
| echo | rust-crossbeam-deque | 0.7.4-1 |
| Oracle Linux 7 | firefox | 91.2.0-4.0.1.el7_9 |
| Oracle Linux 7 | thunderbird | 91.2.0-1.0.1.el7_9 |
| Oracle Linux 8 | firefox | 91.2.0-4.0.1.el8_4 |
| Oracle Linux 8 | thunderbird | 91.2.0-1.0.1.el8_4 |
| Red Hat | firefox | no fix listed |
| Red Hat | thunderbird | no fix listed |
| rocky 8 | firefox | 91.2.0-4.el8_4 |
| rocky 8 | thunderbird | 91.2.0-1.el8_4 |
| ubuntu 18.04 | firefox | 93.0+build1-0ubuntu0.18.04.1 |
| ubuntu 20.04 | firefox | 93.0+build1-0ubuntu0.20.04.1 |
| ubuntu 21.04 | firefox | 93.0+build1-0ubuntu0.21.04.1 |
| ubuntu 21.10 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 22.04 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 22.10 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 23.04 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 23.10 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 24.04 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 24.10 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 25.04 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 25.10 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 26.04 | firefox | 93.0+build1-0ubuntu2 |
| ubuntu 26.10 | firefox | 93.0+build1-0ubuntu2 |
References
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-32810.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38496.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38497.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38498.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38500.json
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-38501.json
- https://access.redhat.com/security/cve/CVE-2021-32810
- https://github.com/crossbeam-rs/crossbeam
All 45 references
- https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw
- https://linux.oracle.com/cve/CVE-2021-32810.html
- https://linux.oracle.com/errata/ELSA-2021-3841.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7EZILHZDRGDPOBQ4KTW3E5PPMKLHGH5N
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7EZILHZDRGDPOBQ4KTW3E5PPMKLHGH5N/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AWHNNBJCU4EHA2X5ZAMJMGLDUYS5FEPP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AWHNNBJCU4EHA2X5ZAMJMGLDUYS5FEPP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYBSLIYFANZLCYWOGTIYZUM26TJRH7WU
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYBSLIYFANZLCYWOGTIYZUM26TJRH7WU/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CY5T3FCE4MUYSPKEWICLVJBBODGJ6SZE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CY5T3FCE4MUYSPKEWICLVJBBODGJ6SZE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EW5B2VTDVMJ6B3DA4VLMAMW2GGDCE2BK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EW5B2VTDVMJ6B3DA4VLMAMW2GGDCE2BK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LCIBFGBSL3JSVJQTNEDEIMZGZF23N2KE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LCIBFGBSL3JSVJQTNEDEIMZGZF23N2KE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OCLMH7B7B2MF55ET4NQNPH7JWISFX4RT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OCLMH7B7B2MF55ET4NQNPH7JWISFX4RT/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RRPKBRXCRNGNMVFQPFD4LM3QKPEMBQQR
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RRPKBRXCRNGNMVFQPFD4LM3QKPEMBQQR/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFUBWBYCPSSXTJGEAQ67CJUNQJBOCM26
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFUBWBYCPSSXTJGEAQ67CJUNQJBOCM26/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3LSN3B43TJSFIOB3QLPBI3RCHRU5BLO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3LSN3B43TJSFIOB3QLPBI3RCHRU5BLO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VQZIEJQBV3S72BHD5GKJQF3NVYNRV5CF
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VQZIEJQBV3S72BHD5GKJQF3NVYNRV5CF/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WGB2H35CTZDHOV3VLC5BM6VFGURLLVRP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WGB2H35CTZDHOV3VLC5BM6VFGURLLVRP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XFBZWCLG7AGLJO4A7K5IMJVPLSWZ5TJP
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XFBZWCLG7AGLJO4A7K5IMJVPLSWZ5TJP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQDIBB7VR3ER52FMSMNJPAWNDO5SITCE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQDIBB7VR3ER52FMSMNJPAWNDO5SITCE/
- https://nvd.nist.gov/vuln/detail/CVE-2021-32810
- https://rustsec.org/advisories/RUSTSEC-2021-0093.html
- https://ubuntu.com/security/notices/USN-5107-1
- https://ubuntu.com/security/notices/USN-5132-1
- https://www.cve.org/CVERecord?id=CVE-2021-32810
- https://www.mozilla.org/en-US/security/advisories/mfsa2021-43/#CVE-2021-32810