CVE-2024-27308
Last modified
CVE-2024-27308 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mio Project | Mio | >= 0.7.2, <= 0.8.10 |
| Tokio | Tokio | >= 1.30.0 |
References
- https://github.com/tokio-rs/mio/pull/1760Issue Tracking
- https://github.com/tokio-rs/tokio/issues/6369Issue Tracking
- https://github.com/tokio-rs/mio/pull/1760Issue Tracking
- https://github.com/tokio-rs/tokio/issues/6369Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27308?
How severe is CVE-2024-27308?
How do I fix CVE-2024-27308?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-27302go-zero is a web and rpc framework. Go-zero allows user to s…9.1
- CVE-2024-27303electron-builder is a solution to package and build a ready …7.3
- CVE-2024-27304pgx is a PostgreSQL driver and toolkit for Go. SQL injection…9.8
- CVE-2024-27305aiosmtpd is a reimplementation of the Python stdlib smtpd.py…5.3
- CVE-2024-27306aiohttp is an asynchronous HTTP client/server framework for …6.1
- CVE-2024-27307JSONata is a JSON query and transformation language. Startin…9.8
- CVE-2024-27309While an Apache Kafka cluster is being migrated from ZooKeep…7.4
- CVE-2024-2731Users with low privileges (all permissions deselected in the…5.4
- CVE-2024-27310Zoho ManageEngine ADSelfService Plus versions below 6401 are…6.5
- CVE-2024-27311Zohocorp ManageEngine DDI Central versions 4001 and prior we…8.8
- CVE-2024-27312Zohocorp ManageEngine PAM360 version 6601 is vulnerable to a…8.1
- CVE-2024-27313Zoho ManageEngine PAM360 is vulnerable to Stored XSS vulnera…4.6
Are you affected by CVE-2024-27308?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
