Live threats

All CVEs / Tokio

CVE-2021-45710Tokio

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Dec 27, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

An issue was discovered in the tokio crate before 1.8.4, and 1.9.x through 1.13.x before 1.13.1, for Rust. In certain circumstances involving a closed oneshot channel, there is a data race and memory corruption.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tokio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io tokio ≥ 0.1.14 < 1.8.4 1.8.4 cargo update -p tokio --precise 1.8.4
crates.io tokio ≥ 1.9.0 < 1.13.1 1.13.1 cargo update -p tokio --precise 1.13.1
crates.io tokio ≥ 0.1.14 < 1.8.4 1.8.4 cargo update -p tokio --precise 1.8.4
crates.io tokio ≥ 1.9.0 < 1.13.1 1.13.1 cargo update -p tokio --precise 1.13.1

Per OSV / GitHub Advisories (GHSA-fg7r-2g4j-5cgr, RUSTSEC-2021-0124). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tokiotokio≥ 0.1.14 < 1.8.4
tokiotokio≥ 1.9.0 < 1.13.1

Official sources

References

Links published by the sources. Open them with care.