CVE-2023-22466
Tokio Named Pipe Configuration Arbitrary Access Vulnerability
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`.
INFO
Published Date :
Jan. 4, 2023, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 7:44 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22466
.
URL | Resource |
---|---|
https://github.com/tokio-rs/tokio/pull/5336 | Patch Third Party Advisory |
https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 | Release Notes Third Party Advisory |
https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 | Mitigation Third Party Advisory |
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients | Technical Description Third Party Advisory |
https://github.com/tokio-rs/tokio/pull/5336 | Patch Third Party Advisory |
https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 | Release Notes Third Party Advisory |
https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 | Mitigation Third Party Advisory |
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients | Technical Description Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22466
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-22466
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/tokio-rs/tokio/pull/5336 Added Reference https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 Added Reference https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 Added Reference https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jan. 11, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Changed Reference Type https://github.com/tokio-rs/tokio/pull/5336 No Types Assigned https://github.com/tokio-rs/tokio/pull/5336 Patch, Third Party Advisory Changed Reference Type https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 No Types Assigned https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 No Types Assigned https://github.com/tokio-rs/tokio/security/advisories/GHSA-7rrj-xr53-82p7 Mitigation, Third Party Advisory Changed Reference Type https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients No Types Assigned https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createnamedpipea#pipe_reject_remote_clients Technical Description, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:* versions from (including) 1.7.0 up to (excluding) 1.18.4 *cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:* versions from (including) 1.19.0 up to (excluding) 1.20.3 *cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:* versions from (including) 1.21.0 up to (excluding) 1.23.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22466
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22466
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.12 }} -0.00%
score
0.47144
percentile