p PatchFirst

CVE-2022-23639

CVE-2022-23639 · Improper Restriction of Operations within the Bounds of a Memory Buffer and Race Condition in crossbeam-utils

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.1 · High · EPSS 1.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • crossbeam

    Versions
    • < 0.8.7: Affected

    No fix published

  • rust-crossbeam-utils Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.8.8-1

    Update to 0.8.8-1

  • rust-crossbeam-utils Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.8.8-1

    Update to 0.8.8-1

  • rust-crossbeam-utils Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.8.8-1

    Update to 0.8.8-1

  • rustc Ubuntu:Pro:14.04:LTS

    Versions
    • 1.15.1+dfsg0-1~exp1ubuntu2~14.04.7
    • 1.17.0+dfsg2-8~ubuntu0.14.04.3
    • 1.21.0+dfsg1+llvm-0ubuntu3~14.04.5
    • 1.22.1+dfsg1+llvm-0ubuntu2~14.04.2
    • 1.24.1+dfsg1+llvm-0ubuntu1~14.04.1
    • 1.25.0+dfsg1+llvm-0ubuntu1~14.04.1
    • 1.28.0+dfsg1+llvm-0ubuntu1~14.04.1
    • 1.30.0+dfsg1+llvm-2ubuntu1~14.04.1
    • 1.31.0+dfsg1+llvm-2ubuntu1~14.04.1
    • 1.31.0+dfsg1+llvm-2ubuntu1~14.04.1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cargo Ubuntu:Pro:16.04:LTS

    Versions
    • 0.8.0-1
    • 0.16.0-0ubuntu1~16.04.1
    • 0.18.0-0ubuntu0.16.04.1
    • 0.22.0-0ubuntu0.16.04.1
    • 0.23.0-0ubuntu0.16.04.1
    • 0.25.0-1ubuntu1~16.04.1
    • 0.26.0-0ubuntu2~16.04.1
    • 0.29.0-1ubuntu1~16.04.1
    • 0.31.0-3ubuntu1~16.04.1
    • 0.32.0-1~exp1ubuntu1~16.04.1
    • 0.33.0-1ubuntu1~16.04.1
    • 0.35.0-0ubuntu1~16.04.1
    • 0.36.0-0ubuntu1~16.04.1
    • 0.37.0-3ubuntu1~16.04.1
    • 0.38.0-0ubuntu1~16.04.1
    • 0.40.0-3ubuntu1~16.04.1
    • 0.42.0-0ubuntu1~16.04.1
    • 0.44.1-0ubuntu1~16.04.1
    • 0.47.0-1~exp1ubuntu1~16.04.1
    • 0.47.0-1~exp1ubuntu1~16.04.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rustc Ubuntu:Pro:16.04:LTS

    Versions
    • 1.7.0+dfsg1-1
    • 1.15.1+dfsg0-1~exp1ubuntu2~16.04.3
    • 1.17.0+dfsg2-8~ubuntu0.16.04.2
    • 1.21.0+dfsg1+llvm-0ubuntu3~16.04.1
    • 1.22.1+dfsg1+llvm-0ubuntu2~16.04.2
    • 1.24.1+dfsg1+llvm-0ubuntu1~16.04.1
    • 1.25.0+dfsg1+llvm-0ubuntu1~16.04.1
    • 1.28.0+dfsg1+llvm-0ubuntu1~16.04.1
    • 1.30.0+dfsg1+llvm-2ubuntu1~16.04.1
    • 1.31.0+dfsg1+llvm-2ubuntu1~16.04.1
    • 1.32.0+dfsg1+llvm-1ubuntu1~16.04.1
    • 1.34.1+dfsg2+llvm-0ubuntu1~16.04.1
    • 1.35.0+dfsg0.1+llvm-0ubuntu1~16.04.1
    • 1.36.0+dfsg1+llvm-2ubuntu1~16.04.1
    • 1.37.0+dfsg1+llvm-1ubuntu1~16.04.1
    • 1.39.0+dfsg1+llvm-3ubuntu1~16.04.1
    • 1.41.0+dfsg1+llvm-0ubuntu1~16.04.1
    • 1.43.0+dfsg1+llvm-1~exp1ubuntu2~16.04.1
    • 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1
    • 1.47.0+dfsg1+llvm-1ubuntu1~16.04.1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mozjs52 Ubuntu:18.04:LTS

    Versions
    • 52.3.1-0ubuntu3
    • 52.3.1-7fakesync1
    • 52.8.1-0ubuntu0.18.04.1
    • 52.9.1-0ubuntu0.18.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mozjs38 Ubuntu:18.04:LTS

    Versions
    • 38.8.0~repack1-0ubuntu1
    • 38.8.0~repack1-0ubuntu3
    • 38.8.0~repack1-0ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rustc Ubuntu:20.04:LTS

    Versions
    • 1.37.0+dfsg1+llvm-1ubuntu1
    • 1.38.0+dfsg0.2+llvm-0ubuntu1
    • 1.38.0+dfsg0.2+llvm-0ubuntu2
    • 1.39.0+dfsg1+llvm-3ubuntu1
    • 1.40.0+dfsg1+llvm-5ubuntu1
    • 1.41.0+dfsg1+llvm-0ubuntu1
    • 1.41.0+dfsg1+llvm-0ubuntu2
    • 1.43.0+dfsg1+llvm-1~exp1ubuntu1~20.04.1
    • 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1
    • 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2
    • 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1
    • 1.57.0+dfsg1+llvm-0ubuntu1~20.04.1
    Affected ranges
    • ECOSYSTEM: < 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2

    Update to 1.59.0+dfsg1~ubuntu1~llvm-1~ubuntu1~20.04.2

  • mozjs68 Ubuntu:20.04:LTS

    Versions
    • 68.5.0-1~fakesync
    • 68.5.0-2~fakesync
    • 68.6.0-1
    • 68.6.0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mozjs52 Ubuntu:20.04:LTS

    Versions
    • 52.9.1-1build1
    • 52.9.1-1ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-crossbeam-utils Ubuntu:20.04:LTS

    Versions
    • 0.6.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firefox Ubuntu:22.04:LTS

    Versions
    • 93.0+build1-0ubuntu3
    • 94.0+build3-0ubuntu1
    • 94.0.2+build1-0ubuntu1
    • 94.0.2+build2-0ubuntu1
    • 95.0+build1-0ubuntu1
    • 95.0.1+build2-0ubuntu1
    • 95.0.2+build1-0ubuntu1
    • 96.0+build2-0ubuntu1
    • 96.0.1+build1-0ubuntu1
    • 96.0.2+build1-0ubuntu1
    • 96.0.3+build1-0ubuntu1
    • 97.0+build1-0ubuntu1
    • 97.0+build2-0ubuntu1
    • 97.0.1+build1-0ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1:1snap1-0ubuntu1

    Update to 1:1snap1-0ubuntu1

  • mozjs78 Ubuntu:22.04:LTS

    Versions
    • 78.13.0-1
    • 78.15.0-2
    • 78.15.0-4ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-crossbeam-utils Ubuntu:22.04:LTS

    Versions
    • 0.7.2-2
    • 0.8.5-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-crossbeam-utils-0.7 Ubuntu:22.04:LTS

    Versions
    • 0.7.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rustc Ubuntu:22.04:LTS

    Versions
    • 1.51.0+dfsg1+llvm-1~exp3ubuntu1
    • 1.53.0+dfsg1+llvm-4ubuntu1
    • 1.54.0+dfsg2+llvm-3ubuntu1
    • 1.56.0+dfsg1+llvm-2ubuntu1
    • 1.56.0+dfsg1+llvm-2ubuntu2
    • 1.57.0+dfsg1+llvm-0ubuntu1
    • 1.57.0+dfsg1+llvm-0ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1.58.1+dfsg1~ubuntu1-0ubuntu1

    Update to 1.58.1+dfsg1~ubuntu1-0ubuntu1

  • thunderbird Ubuntu:22.04:LTS

    Versions
    • 1:91.1.2+build1-0ubuntu1
    • 1:91.3.0+build2-0ubuntu1
    • 1:91.3.1+build1-0ubuntu1
    • 1:91.3.2+build1-0ubuntu1
    • 1:91.4.0+build1.1-0ubuntu1
    • 1:91.4.0+build2-0ubuntu1
    • 1:91.5.0+build1-0ubuntu1
    • 1:91.5.1+build1-0ubuntu1
    • 1:91.6.1+build1-0ubuntu1
    • 1:91.7.0+build1-0ubuntu1
    • 1:91.7.0+build2-0ubuntu1
    • 1:91.8.0+build2-0ubuntu1
    • 1:91.9.1+build1-0ubuntu0.22.04.1
    • 1:91.11.0+build2-0ubuntu0.22.04.1
    • 1:102.2.2+build1-0ubuntu0.22.04.1
    • 1:102.4.2+build2-0ubuntu0.22.04.1
    • 1:102.7.1+build2-0ubuntu0.22.04.1
    • 1:102.8.0+build2-0ubuntu0.22.04.1
    • 1:102.9.0+build1-0ubuntu0.22.04.1
    • 1:102.10.0+build2-0ubuntu0.22.04.1
    • 1:102.11.0+build1-0ubuntu0.22.04.1
    • 1:102.13.0+build1-0ubuntu0.22.04.1
    • 1:102.15.0+build1-0ubuntu0.22.04.1
    • 1:102.15.1+build1-0ubuntu0.22.04.1
    • 1:115.3.1+build1-0ubuntu0.22.04.2
    • 1:115.4.1+build1-0ubuntu0.22.04.1
    • 1:115.5.0+build1-0ubuntu0.22.04.1
    • 1:115.6.0+build2-0ubuntu0.22.04.1
    • 1:115.8.1+build1-0ubuntu0.22.04.1
    • 1:115.9.0+build1-0ubuntu0.22.04.1
    • 1:115.10.1+build1-0ubuntu0.22.04.1
    • 1:115.11.0+build2-0ubuntu0.22.04.1
    • 1:115.12.0+build3-0ubuntu0.22.04.1
    • 1:115.13.0+build5-0ubuntu0.22.04.1
    • 1:115.15.0+build1-0ubuntu0.22.04.1
    • 1:115.16.0+build2-0ubuntu0.22.04.1
    • 1:115.18.0+build1-0ubuntu0.22.04.1
    • 1:128.12.0+build1-0ubuntu0.22.04.1
    • 1:140.7.1+build1-0ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • thunderbird Ubuntu:24.04:LTS

    Versions
    • 1:115.3.1+build1-0ubuntu1
    • 1:115.4.1+build1-0ubuntu1
    • 1:115.4.3+build1-0ubuntu1
    • 1:115.5.0+build1-0ubuntu1
    • 1:115.5.1+build1-0ubuntu1
    • 1:115.5.2+build2-0ubuntu1
    • 1:115.6.0+build1-0ubuntu1
    • 1:115.6.0+build2-0ubuntu1
    • 1:115.6.1+build1-0ubuntu1
    • 1:115.8.0+build1-0ubuntu1
    • 1:115.8.1+build1+snap2
    • 1:115.8.1+build1+snap3
    • 2:1snap1-0ubuntu1
    • 2:1snap1-0ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • thunderbird Ubuntu:25.10

    Versions
    • 2:1snap1-0ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • thunderbird Ubuntu:26.10

    Versions
    • 2:1snap1-0ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • thunderbird Ubuntu:26.04:LTS

    Versions
    • 2:1snap1-0ubuntu3
    • 2:1snap1-0ubuntu4
    • 2:1snap1-0ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →