CVE-2022-23639 json
Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils
published 2022-02-05 4 y ago modified 2026-07-17 3 mo ago also GHSA-qc84-gqf4-9926 , RUSTSEC-2022-0041 , EUVD-2022-1149
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust. crossbeam-utils prior to version 0.8.7 incorrectly assumed that the alignment of `{i,u}64` was always the same as `Atomic{I,U}64`. However, the alignment of `{i,u}64` on a 32-bit target can be smaller than `Atomic{I,U}64`. This can cause unaligned memory accesses and data race. Crates using `fetch_*` methods with `AtomicCell<{i,u}64>` are affected by this issue. 32-bit targets without `Atomic{I,U}64` and 64-bit targets are not affected by this issue. This has been fixed in crossbeam-utils 0.8.7. There are currently no known workarounds.
Patch / fix
- crates.io crossbeam-utils 0.8.7
- crossbeam_project crossbeam 0.8.7
- rust-crossbeam-utils Debian 14, Debian 13, Debian 12 0.8.8-1
debian advisories DEBIAN-CVE-2022-23639
- rustc Ubuntu 20.04 LTS 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2
- rustc Ubuntu 22.04 LTS 1.58.1+dfsg1~ubuntu1-0ubuntu1
- firefox Ubuntu 22.04 LTS 1:1snap1-0ubuntu1
ubuntu advisories UBUNTU-CVE-2022-23639
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- librsvg2 Azure Linux 3.0 2.58.1-1
- rust Azure Linux 3.0 crossbeam_utils-0.8.7
azure linux advisories AZL-41454AZL-61381
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23639 updated cvss 6.2
rust-crossbeam: unaligned memory accesses and data races could lead to denial of service for 32-bit targets only
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | crossbeam-utils | <0.8.7 >=0.0.0-0, <0.8.7 |
0.8.7 |
Affected products
- crossbeam-rs crossbeam
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
-
github.com
/crossbeam-rs/crossbeam/pull/781
web, issue-tracking, patch, third-party-advisory
-
github.com
/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7
web, patch, third-party-advisory
-
github.com
/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23639
advisory
-
github.com
/crossbeam-rs/crossbeam
package
-
rustsec.org
/advisories/RUSTSEC-2022-0041.html
web, advisory
-
crates.io
/crates/crossbeam-utils
package
Sources
- CVE List CVE-2022-23639
- GitHub Advisory GHSA-qc84-gqf4-9926
- NVD CVE-2022-23639
- OSV RUSTSEC-2022-0041
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.