crossbeam-utils
Affected
- introduced
0.0.0-0, fixed0.8.7(semver)
Fixed versions
0.8.7
Fix
- Fixed version
0.8.7cargo update -p crossbeam-utils --precise 0.8.7
Advisory
Also known as: CVE-2022-23639, GHSA-qc84-gqf4-9926
Unsoundness of AtomicCell<*64> arithmetics on 32-bit targets that support Atomic*64
Impact
Affected versions of this crate 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 the following problems:
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.
32-bit targets with Atomic{I,U}64 and {i,u}64 have the same alignment are also not affected by this issue.
The following is a complete list of the builtin targets that may be affected. (last update: nightly-2022-02-11)
Patches
This has been fixed in crossbeam-utils 0.8.7.
Affected 0.8.x releases have been yanked.
Thanks to @taiki-e.
Not rated by the source.
0.0.0-0, fixed 0.8.7 (semver)0.8.7
0.8.7cargo update -p crossbeam-utils --precise 0.8.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0