CVE-2021-45710: RUSTSEC-2021-0124 - Data race when sending and receiving after closing a `oneshot` channel

CVE-2021-45710 · Severity: low · CVSS 3.1 · Published 2021-11-16

Data race when sending and receiving after closing a `oneshot` channel

Technologies: tokio (crates.io). Vendors: crates.io.

Quick answers

Is CVE-2021-45710 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-45710 being exploited in the wild.
How severe is CVE-2021-45710?
Low severity, with a CVSS score of 3.1, published 16 November 2021.
Which products and versions are affected?
tokio (crates.io) SEMVER:introduced=0.1.14,fixed=1.8.4, SEMVER:introduced=0.1.14,fixed=1.8.4,introduced=1.9.0,fixed=1.13.1.
Is there a fix for CVE-2021-45710?
Yes. tokio (crates.io): upgrade to 1.13.1, 1.8.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-45710?
Check whether you run tokio (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • tokio (crates.io): upgrade to 1.13.1, 1.8.4 or later
    cargo update -p tokio

Affected products

  • tokio (crates.io) SEMVER:introduced=0.1.14,fixed=1.8.4, SEMVER:introduced=0.1.14,fixed=1.8.4,introduced=1.9.0,fixed=1.13.1

Identifiers

  • CVE-2021-45710
  • GHSA-fg7r-2g4j-5cgr
  • RUSTSEC-2021-0124

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.