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 rants

Dependencies

(17 total, 4 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 bytes^1.2.01.9.0up to date
 futures^0.3.210.3.31up to date
 log^0.4.170.4.25up to date
 nom^7.1.18.0.0out of date
 safer_owning_ref^0.5.00.5.0up to date
 pin-project^1.0.111.1.8up to date
 rand^0.8.50.9.0out of date
 serde^1.0.1401.0.217up to date
 serde_json^1.0.811.0.138up to date
 tokio ⚠️^1.20.11.43.0maybe insecure
 tokio-util^0.7.30.7.13up to date
 tokio-stream^0.1.90.1.17up to date
 uuid^1.1.21.12.1up to date
 native-tls^0.2.100.2.13up to date
 rustls ⚠️^0.20.60.23.21out of date
 tokio-native-tls^0.3.00.3.1up to date
 tokio-rustls^0.23.40.26.1out of date

Dev dependencies

(4 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 env_logger^0.9.00.11.6out of date
 hostname^0.3.10.4.0out of date
 rustls-pemfile^1.0.02.2.0out of date
 tokio ⚠️^1.20.11.43.0maybe insecure

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

rustls: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

RUSTSEC-2024-0336

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.