CVE-2021-38191Published Aug 8, 2021 · Aug 8Updated Oct 24
Race condition in tokio
Medium5.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tokio crates.io |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| tokio crates.io |
|
|
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.
From the CVE record · mitre
The tokio crate may drop a task on the wrong thread when JoinHandle::abort is called. The input does not specify how an attacker could trigger this behavior or whether access or user interaction is required.
Engineers using the crates.io tokio package in versions >=0.3.0 <1.5.1, >=1.6.0 <1.6.3, >=1.7.0 <1.7.2, or >=1.8.0 <1.8.1 should check their dependencies.