Vulnerability RUSTSEC-2023-0001

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
3 years ago
January 04, 2023 at 12:00 PM UTC
reject_remote_clients Configuration corruption
1.7.0 - 1.18.3
1.7.0 - 1.18.3

Summary

reject_remote_clients Configuration corruption

Details

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions:: reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

Impacted packages

Timeline

Published
3 years ago
January 04, 2023 at 12:00 PM UTC
Fixed (1.18.4)
3 years ago
January 03, 2023 at 10:20 PM UTC
Fixed (1.20.3)
3 years ago
January 03, 2023 at 10:21 PM UTC
Fixed (1.23.1)
3 years ago
January 04, 2023 at 07:14 PM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:00 PM UTC