CVE-2021-38191 Race condition in tokio
MediumCVSS 5.9
EPSS 0.83%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io tokio(crates.io) | >= 0.3.0, < 1.5.1; >= 1.6.0, < 1.6.3; >= 1.7.0, < 1.7.2; >= 1.8.0, < 1.8.1 | 1.5.1, 1.6.3, 1.7.2, 1.8.1 | Fixed |
| tokio | = 1.8.0; >= 0.3.0, < 1.5.1; >= 1.6.0, < 1.6.3; >= 1.7.0, < 1.7.2 | 1.5.1, 1.6.3, 1.7.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io tokio(crates.io) | >= 1.8.0, < 1.8.1 | 1.8.1 |
| crates.io tokio(crates.io) | >= 1.7.0, < 1.7.2 | 1.7.2 |
| crates.io tokio(crates.io) | >= 1.6.0, < 1.6.3 | 1.6.3 |
| crates.io tokio(crates.io) | >= 0.3.0, < 1.5.1 | 1.5.1 |
| tokio | >= 0.3.0, < 1.5.1 | 1.5.1 |
| tokio | >= 1.6.0, < 1.6.3 | 1.6.3 |
| tokio | >= 1.7.0, < 1.7.2 | 1.7.2 |
| tokio | = 1.8.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- raw.githubusercontent.com third-party-advisory
- rustsec.org exploit issue-tracking patch third-party-advisory vendor-advisory
- github.com
- github.com product
- crates.io product
- Debian Security Tracker CVE-2021-38191 vendor-advisory