CVE-2024-27308
published high CVSS 3.1 · 7.5Mio's tokens for named pipes may be delivered after deregistration
Package status and fixes
Description
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 vulnerability may result in a use-after-free. For users of Tokio, this vulnerability is serious and can result in a use-after-free in Tokio. The vulnerability is Windows-specific, and can only happen if you are using named pipes. Other IO resources are not affected. This vulnerability has been fixed in mio v0.8.11. All versions of mio between v0.7.2 and v0.8.10 are vulnerable. Tokio is vulnerable when you are using a vulnerable version of mio AND you are using at least Tokio v1.30.0. Versions of Tokio prior to v1.30.0 will ignore invalid tokens, so they are not vulnerable. Vulnerable libraries that use mio can work around this issue by detecting and ignoring invalid tokens.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| tokio-rs | mio | >= 0.7.2, < 0.8.11 (affected) | GitHub_M · cna |
| mio_project | mio | 0.7.2 to < 0.8.11 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-416 CWE-416: Use After Free
- CWE-672 CWE-672: Operation on a Resource after Expiration or Release
References
4Provider assertions
3GitHub_M · cna
Mio's tokens for named pipes may be delivered after deregistration
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a55af7ac47dc835e6f5d268011224b37b89c11673f03ea711f6ee730b182bfcb
- Ingested
- 23 Sep 2026, 08:20:47 UTC
- Source record
- Official CVE record