Skip to main content
← All vulnerabilities
CVE-2021-32810RUSTSEC-2021-0093GHSA-PQQP-XMHJ-WGCW

Data race in crossbeam-deque

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.4, 0.8.1
None on Exploit-DB, Metasploit or GitHub

Summary

crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust. In versions prior to 0.7.4 and 0.8.0, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug. Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue. This has been fixed in crossbeam-deque 0.8.1 and 0.7.4.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • crossbeam-rs crossbeam

    fixed in 0.7.4; From 0.8.0 · fixed in 0.8.1

  • crossbeam-dequecrates.io

    From 0.0.0-0 · fixed in 0.7.4; From 0.8.0 · fixed in 0.8.1

  • crossbeam-dequecrates.io

    fixed in 0.7.4

  • crossbeam-dequecrates.io

    From 0.8.0 · fixed in 0.8.1

References 15

GitHub · crossbeam-rs/crossbeam

lists.fedoraproject.org