CVE-2022-23639

NameCVE-2022-23639
Descriptioncrossbeam-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-crossbeam-utils (PTS)buster0.6.5-1vulnerable
bullseye0.7.2-2vulnerable
bookworm, sid0.8.12-1fixed
rust-crossbeam-utils-0.7 (PTS)bookworm, sid0.7.2-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-crossbeam-utilssource(unstable)0.8.8-1
rust-crossbeam-utils-0.7source(unstable)(unfixed)

Notes

[bullseye] - rust-crossbeam-utils <no-dsa> (Minor issue)
[buster] - rust-crossbeam-utils <no-dsa> (Minor issue)
https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-qc84-gqf4-9926
https://github.com/crossbeam-rs/crossbeam/pull/781
check, crossbeam-utils are vendored in various other sources, in particular rustc to be checked

Search for package or bug name: Reporting problems