CVE-2023-22466 | Tokio's reject_remote_clients configuration may get dropped when creating a Windows named pipe

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`.

Published: 2023-01-04 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-22466 is rated Low Risk (36.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.56%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-22466

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.15% 0.56% +0.41%
2 2026-01-12 0.13% 0.15% +0.02%
3 2025-11-21 0.13%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-22466

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 2.5 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.5 [email protected]

Weakness enumeration for CVE-2023-22466

GitHub Security Advisory for CVE-2023-22466

GHSA-7rrj-xr53-82p7 · Severity: medium · Ecosystem: rust — Tokio reject_remote_clients configuration may get dropped when creating a Windows named pipe

OS Trackers for CVE-2023-22466

vendor priority summary link
debian unimportant CVE-2023-22466 unimportant priority: Debian including 1 source packages (rust-tokio), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-22466
ubuntu medium CVE-2023-22466 medium priority: Ubuntu including 1 source packages (rust-tokio), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 5, not-affected 5, needs-triage 2, DNE 1. https://ubuntu.com/security/CVE-2023-22466

Affected software / configurations for CVE-2023-22466

Vendor Product Version Raw CPE
tokio tokio >= 1.7.0, < 1.18.4 cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
tokio tokio >= 1.19.0, < 1.20.3 cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
tokio tokio >= 1.21.0, < 1.23.1 cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*

References for CVE-2023-22466

cvelogic Threat Intelligence