CVE-2021-38191: tokio
Vulnerability summary
CVE-2021-38191 is a medium (CVSS 5.9) vulnerability in tokio. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 08-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
An issue was discovered in the tokio crate before 1.8.1 for Rust. Upon a JoinHandle::abort, a Task may be dropped in the wrong thread.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.83% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (rustsec.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Crates.Io1 product
- tokio≥ 1.7.0, < 1.7.2 | ≥ 1.6.0, < 1.6.3 | ≥ 0.3.0, < 1.5.1 | ≥ 1.8.0, < 1.8.1
Tokio1 product
- tokio≥ 0.3.0, < 1.5.1 | ≥ 1.6.0, < 1.6.3 | ≥ 1.7.0, < 1.7.2 | 1.8.0
2 vendors · 2 products
References
6 links- rustsec.org/advisories/RUSTSEC-2021-0072.htmlX Refsource MISCWEBAdvisoryExploitIssue TrackingPatchThird Party Advisory
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0072.mdX Refsource MISCWEBThird Party Advisory
- github.com/tokio-rs/tokioPACKAGE
- crates.io/crates/tokioPACKAGE