CVE-2021-38191: tokio - Denial of Service
- Cve: CVE-2021-38191
- Name: tokio - Denial of Service
- 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.
- Impact: Tasks may be dropped in the wrong thread, potentially causing undefined behavior or crashes.
- Remediation: Update to tokio version 1.8.1 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00833
- Epss percentile: 0.58576
- Assignee: [email protected]
- Published at: 2021-08-08T06:15:08Z
- Age in days: 1934
- Modified at: 2026-06-17T04:01:43Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38191
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0072.html | nvd | 2021-08-08 |
References
| Url | Source | Tags |
|---|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0072.html | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tokio/RUSTSEC-2021-0072.md | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| tokio:tokio | = 1.8.0; >= 1.7.0, < 1.7.2; >= 1.6.0, < 1.6.3; >= 0.3.0, < 1.5.1 | no | nvd | /v1/products/tokio/tokio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| tokio-rs/tokio | issues, package | yes | /v1/repositories/tokio-rs/tokio |
Index
- Repositories: 5
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-08-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts