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`.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.612% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 5.4 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
Assessment source · checked 2026-11-19T12:56:47.153Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:56:47.153Z | CVE Program |
| epss | verified | 2026-11-19T18:27:09.165Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:40.336Z | OSV |
| affected | verified | 2026-11-19T12:56:47.153Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:47.153Z | CVE Program |
Affected versions and configuration
tokio-rs tokio; default status: unknown: >= 1.7.0, < 1.18.4 [affected; scheme: unspecified]; >= 1.19.0, < 1.20.3 [affected; scheme: unspecified]; >= 1.21.0, < 1.23.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "tokio-rs",
"product": "tokio",
"versions": [
{
"status": "affected",
"version": ">= 1.7.0, < 1.18.4"
},
{
"status": "affected",
"version": ">= 1.19.0, < 1.20.3"
},
{
"status": "affected",
"version": ">= 1.21.0, < 1.23.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7",
"name": "https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/tokio-rs/tokio/pull/5336",
"name": "https://github.com/tokio-rs/tokio/pull/5336",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1",
"name": "https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients",
"name": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T10:13:48.445Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2023-22466",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-03-10T21:00:36.854340Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-03-10T21:32:32.950Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-7rrj-xr53-82p7",
"aliases": [
"CVE-2023-22466",
"RUSTSEC-2023-0001"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.18.4"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-7rrj-xr53-82p7/GHSA-7rrj-xr53-82p7.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.19.0"
},
{
"fixed": "1.20.3"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-7rrj-xr53-82p7/GHSA-7rrj-xr53-82p7.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.21.0"
},
{
"fixed": "1.23.1"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-7rrj-xr53-82p7/GHSA-7rrj-xr53-82p7.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22466",
"type": "ADVISORY"
},
{
"url": "https://github.com/tokio-rs/tokio/pull/5336",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/tokio",
"type": "PACKAGE"
},
{
"url": "https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1",
"type": "WEB"
},
{
"url": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0001.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-665"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2023-01-04T22:15:00Z",
"github_reviewed_at": "2023-01-06T21:40:58Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "RUSTSEC-2023-0001",
"aliases": [
"CVE-2023-22466",
"GHSA-7rrj-xr53-82p7"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.18.4"
},
{
"introduced": "1.19.0"
},
{
"fixed": "1.20.3"
},
{
"introduced": "1.21.0"
},
{
"fixed": "1.23.1"
}
]
}
],
"package": {
"name": "tokio",
"purl": "pkg:cargo/tokio",
"ecosystem": "crates.io"
},
"versions": [],
"database_specific": {
"cvss": null,
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0001.json",
"categories": [],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [
"windows"
],
"arch": [],
"functions": []
},
"affected_functions": null
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://crates.io/crates/tokio",
"type": "PACKAGE"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0001.html",
"type": "ADVISORY"
},
{
"url": "https://github.com/tokio-rs/tokio/pull/5336",
"type": "WEB"
},
{
"url": "https://github.com/tokio-rs/tokio/pull/5336",
"type": "WEB"
},
{
"url": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"license": "CC0-1.0"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.18.4 | Official record |
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.20.3 | Official record |
| ecosystem-boundary | crates.io / package | tokio | Not a distribution channel | 1.23.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:40.336ZArchived source JSON
Source publication: 2023-01-06T21:40:58.000Z
Source modification: 2026-09-10T03:49:51.032ZDocument fingerprint
b013548e7a4bc31fdc535b6827a67a3b526e4a0331f75df0aac64e556527099a - OSVConsulted: 2026-11-19T12:52:40.336ZArchived source JSON
Source publication: 2023-01-04T12:00:00.000Z
Source modification: 2026-10-12T18:00:06.115ZDocument fingerprint
b013548e7a4bc31fdc535b6827a67a3b526e4a0331f75df0aac64e556527099a - FIRST EPSSConsulted: 2026-11-19T18:27:09.165ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
e984bc4a8ff3b06285e2eddb70222ac8a60d7c809f73be8fc1d22065f95250ad - CVE ProgramConsulted: 2026-11-19T12:56:47.153ZArchived source JSON
Source publication: 2023-01-04T21:47:09.400Z
Source modification: 2025-03-10T21:32:32.950ZDocument fingerprint
73a3f8f89a22b391e2720acd014d85f1717ef7dd84da0be196a2a2c3e5378111 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence