5.4

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

Modified
AliasesUBUNTU-CVE-2023-22466DEBIAN-CVE-2023-22466CGA-ggm5-m8pj-j53v
Published 04-01-2023Last modified 10-03-2025

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.

Priority
Routine

Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 04-01-2023
    PublishedVulnerability first disclosed.
  2. 10-03-2025
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Show all 12 references