5.4

CVE-2023-22466: tokio-rs tokio Improper Initialization

CVSS: 5.4v3.1MediumModified
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.59% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.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

20-09-202620-10-2026
EPSS score
0.59%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

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