CVE-2023-22466: tokio-rs tokio Improper Initialization
Vulnerability summary
CVE-2023-22466 is a medium (CVSS 5.4) Improper Initialization vulnerability in tokio-rs tokio. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.
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.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
+0.02 pp
From 0.57% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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