{"schemaVersion":3,"id":"CVE-2023-22466","aliases":["UBUNTU-CVE-2023-22466","DEBIAN-CVE-2023-22466","CGA-ggm5-m8pj-j53v","CGA-jr7w-hcmr-9wq7","GHSA-7rrj-xr53-82p7","RUSTSEC-2023-0001"],"status":"published","duplicateOf":null,"title":null,"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`.","dates":{"published":"2023-01-04T21:47:09.400Z","modified":"2025-03-10T21:32:32.950Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0059,"percentile":0.47246,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.02100000000000001,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00569},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0059,"percentile":0.47246}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00569,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00564,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0059,"percentile":0.47246}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-665","name":"Improper Initialization","description":"The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/665.html"}],"affected":[{"vendor":"chainguard","product":"pulumi-watch","name":"pulumi-watch","label":"pulumi-watch","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pulumi-watch","purlType":"apk","versions":[{"text":"< 0.1.5-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.5-r5","eol":null,"hubHref":null},{"vendor":"wolfi","product":"pulumi-watch","name":"pulumi-watch","label":"pulumi-watch","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/pulumi-watch","purlType":"apk","versions":[{"text":"< 0.1.5-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.1.5-r5","eol":null,"hubHref":null},{"vendor":"Crates.Io","product":"tokio","name":"tokio","label":"tokio","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/tokio","purlType":"cargo","versions":[{"text":"≥ 1.7.0, < 1.18.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.19.0, < 1.20.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.23.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-tokio","name":"rust-tokio","label":"rust-tokio","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-tokio","purlType":"deb","versions":[{"text":"< 1.24.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.24.2-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-tokio","name":"rust-tokio","label":"rust-tokio","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-tokio","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"tokio-rs","product":"tokio","name":"tokio","label":"tokio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.7.0, < 1.18.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.19.0, < 1.20.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.23.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1","eol":null,"hubHref":"/vendor/tokio-rs/tokio"},{"vendor":"tokio","product":"tokio","name":"tokio","label":"tokio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.7.0, < 1.18.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.19.0, < 1.20.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.23.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.7.0, < 1.18.4 | ≥ 1.19.0, < 1.20.3 | ≥ 1.21.0, < 1.23.1","eol":null,"hubHref":"/vendor/tokio/tokio"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7","label":"github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB","Mitigation","Third Party Advisory"]},{"url":"https://github.com/tokio-rs/tokio/pull/5336","label":"github.com/tokio-rs/tokio/pull/5336","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB","Patch","Third Party Advisory"]},{"url":"https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1","label":"github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes","Third Party Advisory"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients","label":"learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea","hostname":"learn.microsoft.com","tags":["X Refsource MISC","REPORT","WEB","Technical Description","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-22466","label":"ubuntu.com/security/CVE-2023-22466","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22466","label":"www.cve.org/CVERecord?id=CVE-2023-22466","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-22466","label":"security-tracker.debian.org/tracker/CVE-2023-22466","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22466.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22466.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22466","label":"nvd.nist.gov/vuln/detail/CVE-2023-22466","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/tokio-rs/tokio","label":"github.com/tokio-rs/tokio","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0001.html","label":"rustsec.org/advisories/RUSTSEC-2023-0001.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/tokio","label":"crates.io/crates/tokio","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-96VQ-3673-8RVQ","CGA-J83M-26J5-V99C"]},"timeline":[{"kind":"published","date":"2023-01-04T21:47:09.400Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:32:32.950Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:24:32.342Z","stale":false,"partial":false}}