Security mailing lists by PureSourceCode

CVE-2023-22466

MEDIUM 5.4CVSS 3.1

Tokio 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.

Published
4 Jan 2023
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-665
Also known as
GHSA-7rrj-xr53-82p7RUSTSEC-2023-0001
Sources
NVDJSONOSV GHSA-7rrj-xr53-82p7JSONOSV RUSTSEC-2023-0001JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tokio tokio
cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
>= 1.7.0, < 1.18.4 1.18.4
NVD tokio tokio
cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
>= 1.19.0, < 1.20.3 1.20.3
NVD tokio tokio
cpe:2.3:a:tokio:tokio:*:*:*:*:*:rust:*:*
>= 1.21.0, < 1.23.1 1.23.1
OSV crates.io tokio >= 1.7.0, < 1.18.4 1.18.4
OSV crates.io tokio >= 1.19.0, < 1.20.3 1.20.3
OSV crates.io tokio >= 1.21.0, < 1.23.1 1.23.1
OSV crates.io tokio >= 1.7.0, < 1.18.4; >= 1.19.0, < 1.20.3; >= 1.21.0, < 1.23.1 1.18.4, 1.20.3, 1.23.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 4 Jan 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jan 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.