Name | CVE-2022-23639 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
rust-crossbeam-utils (PTS) | bullseye | 0.7.2-2 | vulnerable |
bookworm | 0.8.12-1 | fixed | |
sid, trixie | 0.8.19-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
rust-crossbeam-utils | source | (unstable) | 0.8.8-1 | |||
rust-crossbeam-utils-0.7 | source | (unstable) | (unfixed) |
[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