Lucene search

K
cvelistGitHub_MCVELIST:CVE-2021-32810
HistoryAug 02, 2021 - 6:35 p.m.

CVE-2021-32810 Data race in crossbeam-deque

2021-08-0218:35:12
CWE-362
GitHub_M
www.cve.org
9
data race
crossbeam-deque
task schedulers
rust
memory leak

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.009

Percentile

82.7%

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.

CNA Affected

[
  {
    "product": "crossbeam",
    "vendor": "crossbeam-rs",
    "versions": [
      {
        "status": "affected",
        "version": "< 0.7.4"
      },
      {
        "status": "affected",
        "version": ">= 0.8.0, < 0.8.1"
      }
    ]
  }
]

References

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

9.7

Confidence

High

EPSS

0.009

Percentile

82.7%