CVE-2023-22466: Tokio's reject_remote_clients configuration may get dropped when creating a Windows named pipe
Vulnerability summary
CVE-2023-22466 is a medium (CVSS 5.4) Improper Initialization vulnerability in tokio-rs tokio. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 04-01-2023PublishedVulnerability first disclosed.
- 10-03-2025Last modifiedVulnerability information updated.
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`.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
- OSV · Crates.ioEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.61% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- pulumi-watch< 0.1.5-r5
Crates.Io1 product
- tokio≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1
Debian1 product
- rust-tokio< 1.24.2-1
Tokio1 product
- tokio≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1
Tokio-rs1 product
- tokio≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1
Ubuntu1 product
- rust-tokioAll versions (No fix recorded)
Wolfi1 product
- pulumi-watch< 0.1.5-r5
7 vendors · 7 products
References
12 links- github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7X Refsource CONFIRMREPORTAdvisoryWEBMitigationThird Party Advisory
- github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1X Refsource MISCREPORTWEBRelease NotesThird Party Advisory
- learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipeaX Refsource MISCREPORTWEBTechnical DescriptionThird Party Advisory
- github.com/tokio-rs/tokioPACKAGE
Show all 12 references
- crates.io/crates/tokioPACKAGE