[RUSTSEC-2021-0093] Data race in crossbeam-deque
Severity
Critical
Affected Packages
1
Fixed Packages
2
CVEs
1
In the affected version of this crate, 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.
Credits to @kmaork for discovering, reporting and fixing the bug.
Package | Affected Version |
---|---|
pkg:cargo/crossbeam-deque | < 0.8.1 |
Package | Fixed Version |
---|---|
pkg:cargo/crossbeam-deque | >= 0.7.4, < 0.8.0 |
pkg:cargo/crossbeam-deque | >= 0.8.1 |
- ID
- RUSTSEC-2021-0093
- Severity
- critical
- Severity from
- CVE-2021-32810
- Impact
- Memory Corruption
- URL
- https://rustsec.org/advisories/RUSTSEC-2021-0093.html
- Published
-
2021-07-30T00:00:00
(3 years ago) - Modified
-
2021-10-19T22:14:35
(2 years ago) - Other Advisories
-
- ALAS2-2022-1818
- ALPINE:CVE-2021-32810
- ALSA-2021:3755
- ALSA-2021:3838
- ELSA-2021-3755
- ELSA-2021-3791
- ELSA-2021-3838
- ELSA-2021-3841
- FEDORA-2021-0f82e9d6d5
- FEDORA-2021-2db6c84087
- FEDORA-2021-32c9adf002
- FEDORA-2021-3cf88e44b4
- FEDORA-2021-537541ceae
- FEDORA-2021-5e99655cca
- FEDORA-2021-60f0e1bb35
- FEDORA-2021-64e9e98eb4
- FEDORA-2021-67d6c34e5b
- FEDORA-2021-79ce3cb64a
- FEDORA-2021-9dc0bd0072
- FEDORA-2021-a5161737c3
- FEDORA-2021-af2eb94426
- FEDORA-2021-e37a366b00
- FEDORA-2021-e5ec6d55bf
- MFSA-2021-43
- MFSA-2021-45
- MFSA-2021-47
- openSUSE-SU-2021:1367-1
- openSUSE-SU-2021:1635-1
- openSUSE-SU-2021:3331-1
- openSUSE-SU-2021:3451-1
- openSUSE-SU-2021:4150-1
- RHSA-2021:3755
- RHSA-2021:3791
- RHSA-2021:3838
- RHSA-2021:3841
- RLSA-2021:3755
- SUSE-SU-2021:3331-1
- SUSE-SU-2021:3446-1
- SUSE-SU-2021:3451-1
- SUSE-SU-2021:4150-1
- USN-5107-1
- USN-5132-1
Source | # ID | Name | URL |
---|---|---|---|
https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-pqqp-xmhj-wgcw | |||
crates.io | crossbeam-deque | https://crates.io/crates/crossbeam-deque | |
rustsec.org | crossbeam-deque | https://rustsec.org/packages/crossbeam-deque.html | |
Security Advisory | GHSA-pqqp-xmhj-wgcw | https://github.com/advisories/GHSA-pqqp-xmhj-wgcw |
Type | Package URL | Namespace | Name / Product | Version | Distribution / Platform | Arch | Patch / Fix |
---|---|---|---|---|---|---|---|
Fixed | pkg:cargo/crossbeam-deque | crossbeam-deque | >= 0.7.4 < 0.8.0 | ||||
Fixed | pkg:cargo/crossbeam-deque | crossbeam-deque | >= 0.8.1 | ||||
Affected | pkg:cargo/crossbeam-deque | crossbeam-deque | < 0.8.1 |
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | Exploits | PoC | Pubblication Date | Modification Date |
---|---|---|---|---|---|---|---|---|---|---|---|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | PoC | Pubblication Date | Modification Date |