CVE-2023-22466 Details
Description
Tokio is a runtime for writing applications with Rust. Starting with version 1.7.0 and prior to versions 1.18.4, 1.20.3, and 1.23.1, when configuring a Windows named pipe server, setting `pipe_mode` will reset `reject_remote_clients` to `false`. If the application has previously configured `reject_remote_clients` to `true`, this effectively undoes the configuration. Remote clients may only access the named pipe if the named pipe's associated path is accessible via a publicly shared folder (SMB). Versions 1.23.1, 1.20.3, and 1.18.4 have been patched. The fix will also be present in all releases starting from version 1.24.0. Named pipes were introduced to Tokio in version 1.7.0, so releases older than 1.7.0 are not affected. As a workaround, ensure that `pipe_mode` is set first after initializing a `ServerOptions`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tokio-rs/tokio/pull/5336 | CVE | PatchThird Party Advisory |
| https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 | CVE | Release NotesThird Party Advisory |
| https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 | CVE | MitigationThird Party Advisory |
| https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients | CVE | Technical DescriptionThird Party Advisory |
| https://github.com/tokio-rs/tokio/pull/5336 | [email protected] | PatchThird Party Advisory |
| https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 | [email protected] | MitigationThird Party Advisory |
| https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients | [email protected] | Technical DescriptionThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-665 | Improper Initialization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tokio tokio | >= 1.7.0, < 1.18.4 >= 1.19.0, < 1.20.3 >= 1.21.0, < 1.23.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 11, 2023 | Initial Analysis | [email protected] |