Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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