CVE-2024-27308
A public proof of concept exists; no exploitation attested.
- Published2024-03-06
- Fixed in0.8.11
- WeaknessCWE-416 · CWE-672
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-03-0620:15CVE publishedNVD
Versions per branch
CISA-ADP · OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.x | ≥ 0.7.2, < 0.8.11 | 0.8.11 | CISA-ADP · OSV |
| 0.x | ≥ 0.7.2, ≤ 0.8.10 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.30+ | ≥ 1.30.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- tokio-rs mioAffected
- = >= 0.7.2, < 0.8.11no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-03-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- bergWolfiall versions · fixed in 0.3.5-r2
- bergChainguardall versions · fixed in 0.3.5-r2
- cargo-auditWolfiall versions · fixed in 0.21.2-r1
- cargo-auditChainguardall versions · fixed in 0.21.2-r1
- kdashWolfiall versions · fixed in 0.6.1-r4
- kdashChainguardall versions · fixed in 0.6.1-r4
- linkerd-network-validatorWolfiall versions · fixed in 0.1.2-r2
- linkerd-network-validatorChainguardall versions · fixed in 0.1.2-r2
10 more package ranges on OSV.dev
Fix
- Update Mio project mio to 0.8.11
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-08-27
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-08-27
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.19.1read 2026-10-23
- CNAweakness (CWE)CWE-416, CWE-672known since 2026-10-23
- FIRST EPSSEPSS score0.9 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-03-04
Identifiers
- AZL-35748same flawAzure Linux · MIT
- AZL-61991same flawAzure Linux · MIT
- CGA-296h-chhm-7wwxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3p5p-x7jh-x74vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4whh-m5cg-v7jwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vgx-vx33-7436same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6fqr-vg85-5j77same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6pm9-39jg-h4fvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c65-qp53-j94psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7f37-v5wq-846rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8v5j-3vqh-8p59same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c4x3-797w-p5g8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f2xh-vxr2-mfq3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-ff4x-xv54-rv4vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g4vq-p94j-56p9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g9hx-2rpc-34mqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g9j5-4rj9-f7jqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gwmr-4p75-mhc4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h6m2-p742-p3vqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j6xg-277w-m2frsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jq48-3g52-267fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m343-fhvp-pwvhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mpgm-cqhq-7336same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mq6f-c5p9-j3x4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mxq6-cfgg-c4p9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p3v5-jh3r-3933same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pxjg-wqvc-5x6rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qxf5-g492-wjhxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vcwx-963c-qx57same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w9m6-89jx-6r4rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wf67-m7mq-v675same flawChainguard · CC-BY-NC-ND-4.0
- CGA-x586-m9xw-993wsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-1000same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-r8w9-5wcg-vfj7same flawGitHub Advisory Database · CC-BY-4.0
- RUSTSEC-2024-0019same flawRustSec · CC0-1.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Published
- 2024-03-06
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-r8w9-5wcg-vfj7
Frequently asked questions
What is CVE-2024-27308?
Is CVE-2024-27308 actively exploited?
What is the CVSS score for CVE-2024-27308?
Running mio? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-r8w9-5wcg-vfj7
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0