This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate tarpc

Dependencies

(17 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.93up to date
 fnv^1.01.0.7up to date
 futures^0.30.3.31up to date
 humantime^2.02.1.0up to date
 opentelemetry^0.26.00.27.0out of date
 opentelemetry-semantic-conventions^0.16.00.27.0out of date
 pin-project^1.01.1.7up to date
 rand^0.80.8.5up to date
 serde^1.01.0.215up to date
 static_assertions^1.1.01.1.0up to date
 tarpc-plugins^0.140.14.0up to date
 thiserror^1.02.0.3out of date
 tokio ⚠️^11.41.1maybe insecure
 tokio-serde^0.90.9.0up to date
 tokio-util^0.7.30.7.12up to date
 tracing^0.10.1.40up to date
 tracing-opentelemetry^0.27.00.28.0out of date

Dev dependencies

(17 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 assert_matches^1.41.5.0up to date
 bincode^1.31.3.3up to date
 bytes^11.8.0up to date
 console-subscriber^0.40.4.1up to date
 flate2^1.01.0.35up to date
 futures-test^0.30.3.31up to date
 opentelemetry^0.26.00.27.0out of date
 opentelemetry-otlp^0.26.00.27.0out of date
 opentelemetry_sdk^0.26.00.27.0out of date
 pin-utils^0.1.00.1.0up to date
 rustls-pemfile^2.02.2.0up to date
 serde_bytes^0.110.11.15up to date
 tokio ⚠️^11.41.1maybe insecure
 tokio-rustls^0.260.26.0up to date
 tokio-serde^0.90.9.0up to date
 tracing-subscriber^0.30.3.18up to date
 trybuild^1.01.0.101up to date

Security Vulnerabilities

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

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);