{"id":"CVE-2022-23639","published":"2022-02-15T18:20:10Z","modified":"2025-04-22T18:22:02Z","title":"Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils","vendor":"crossbeam-rs","product":"crossbeam","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01229,"percentile":0.69636,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/crossbeam-rs/crossbeam/pull/781","tags":["x_refsource_MISC"]},{"url":"https://github.com/crossbeam-rs/crossbeam/releases/tag/crossbeam-utils-0.8.7","tags":["x_refsource_MISC"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":13.93},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"crossbeam-rs","affectedVersions":[{"vendor":"crossbeam-rs","product":"crossbeam","versions":["< 0.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:44:27.286533Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"crossbeam-utils","vulnerableRanges":["<0.8.7",">=0.0.0-0, <0.8.7"],"patched":["0.8.7"],"from":["GHSA-qc84-gqf4-9926","RUSTSEC-2022-0041"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1149","exploited":false,"provenance":"source"}}