Vulnerability Details : CVE-2022-23639
Potential exploit
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.
Products affected by CVE-2022-23639
- cpe:2.3:a:crossbeam_project:crossbeam:*:*:*:*:*:rust:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-23639
0.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-23639
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2022-23639
-
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-23639
-
https://github.com/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7
Release crossbeam-utils 0.8.7 · crossbeam-rs/crossbeam · GitHubPatch;Third Party Advisory
-
https://github.com/crossbeam-rs/crossbeam/pull/781
Fix unsoundness of AtomicCell<*64> arithmetics on 32-bit targets that support Atomic*64 by taiki-e · Pull Request #781 · crossbeam-rs/crossbeam · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926
Unsoundness of AtomicCell<{i,u}64> arithmetics on 32-bit targets that support Atomic{I,U}64 · Advisory · crossbeam-rs/crossbeam · GitHubExploit;Third Party Advisory
Jump to