CVE-2024-27308: Mio is a Metal I/O library for Rust
46
This month
HIGH 7.5REMOTEUPGRADEDOWNGRADE
CVE-2024-27308 is a high-severity flaw (CVSS 7.5) affecting mio, tokio. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Mio is a Metal I/O library for Rust. When using named pipes on Windows, mio will under some circumstances return invalid tokens that correspond to named pipes that have already been deregistered from the mio registry. The impact of this vulnerability depends on how mio is used. For some applications, invalid tokens may be ignored or cause a warning or a crash. On the other hand, for applications that store pointers in the tokens, this vulnerabili
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
tokio tokio DOWNGRADE
Affected: >= 1.30.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.30.0
1. Check installed version
apt-cache policy tokio || rpm -q tokio || tokio --version
2. No fixed release: DOWNGRADE to a release before 1.30.0 (Debian / Ubuntu)
apt-cache madison tokio
sudo apt install tokio=<VERSION_BEFORE_1.30.0>
sudo apt-mark hold tokio
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tokio
sudo dnf downgrade tokio-<VERSION_BEFORE_1.30.0>
sudo dnf versionlock add tokio
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-27308?
mio: upgrade to newer than 0.8.10; tokio: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-27308 being exploited?
CVE-2024-27308 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-27308 affect?
CVE-2024-27308 affects mio, tokio. Severity is high (CVSS 7.5). Mio is a Metal I/O library for Rust. When using named pipes on Windows, mio will under some circumstances return invalid tokens that correspond to named pipes that have already been deregistered from the mio registry. The impact of this vul
How urgent is CVE-2024-27308?
Priority 46/100. High severity; Remotely exploitable, no login, no user action