
Cloud Vulnerability DB
A community-led vulnerabilities database
RUSTSEC-2024-0019 (CVE-2024-27308) is a security vulnerability affecting the Mio crate for Rust, specifically impacting versions between 0.7.2 and 0.8.10. The vulnerability involves tokens for named pipes being delivered after deregistration on Windows systems, potentially leading to use-after-free issues (GitHub Advisory).
The vulnerability occurs when using named pipes on Windows, where Mio may return invalid tokens corresponding to named pipes that have already been deregistered from the Mio registry. This breaks Mio's guarantee that once an IO resource is deregistered, its token should never be returned again. The issue is Windows-specific and only affects named pipe implementations. The vulnerability has been assigned a High severity rating and is particularly serious for applications using Tokio v1.30.0 or later (GitHub Advisory).
The impact varies depending on how Mio is implemented in applications. In some cases, invalid tokens may only result in warnings or crashes. However, in applications that store pointers in tokens, this vulnerability can lead to use-after-free vulnerabilities. The issue is particularly severe for users of the Tokio framework, where it can consistently result in use-after-free conditions (GitHub Advisory).
The vulnerability is exploitable only on Windows systems and specifically requires the use of named pipes. The issue affects Mio versions between 0.7.2 and 0.8.10, and becomes particularly dangerous when used with Tokio version 1.30.0 or later. Earlier versions of Tokio (prior to v1.30.0) are not vulnerable as they ignore invalid tokens (GitHub Advisory).
The vulnerability has been patched in Mio version 0.8.11. For users unable to upgrade immediately, a workaround exists where vulnerable libraries using Mio can detect and ignore invalid tokens. Users are strongly encouraged to upgrade to the patched version to ensure system security (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."