{"cve":"CVE-2023-22466","nvd":{"published":"2023-01-04T22:15:09.267","modified":"2026-06-17T05:35:30.943","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-665"],"references":["https://github.com/tokio-rs/tokio/pull/5336","https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1","https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7","https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients","https://github.com/tokio-rs/tokio/pull/5336"],"products":["tokio:tokio"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2023-22466","score":0.0059,"percentile":0.48224,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-7rrj-xr53-82p7","url":"https://osv.dev/vulnerability/GHSA-7rrj-xr53-82p7","summary":"Tokio reject_remote_clients configuration may get dropped when creating a Windows named pipe","modified":"2026-09-10T03:49:51.032327041Z","packages":[{"ecosystem":"crates.io","name":"tokio","purl":"pkg:cargo/tokio","ranges":[">=1.7.0 <1.18.4"],"fixed":["1.18.4"]},{"ecosystem":"crates.io","name":"tokio","purl":"pkg:cargo/tokio","ranges":[">=1.19.0 <1.20.3"],"fixed":["1.20.3"]},{"ecosystem":"crates.io","name":"tokio","purl":"pkg:cargo/tokio","ranges":[">=1.21.0 <1.23.1"],"fixed":["1.23.1"]}]},{"id":"RUSTSEC-2023-0001","url":"https://osv.dev/vulnerability/RUSTSEC-2023-0001","summary":"reject_remote_clients Configuration corruption","modified":"2026-10-12T18:00:06.115643924Z","packages":[{"ecosystem":"crates.io","name":"tokio","purl":"pkg:cargo/tokio","ranges":[">=1.7.0 <1.18.4",">=1.19.0 <1.20.3",">=1.21.0 <1.23.1"],"fixed":["1.18.4","1.20.3","1.23.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}