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 t-rec

Dependencies

(17 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tempfile^3.233.24.0up to date
 rayon^1.111.11.0up to date
 log^0.40.4.29up to date
 env_logger^0.110.11.8up to date
 humantime^2.32.3.0up to date
 simplerand^1.61.6.0up to date
 serde^1.01.0.228up to date
 toml^0.90.9.11+spec-1.1.0up to date
 dirs^6.06.0.0up to date
 dialoguer^0.120.12.0up to date
 crossterm^0.280.29.0out of date
 tokio ⚠️^11.49.0maybe insecure
 clap^4.54.5.57up to date
 image^0.250.25.9up to date
 nix^0.290.31.1out of date
 libc^0.20.2.180up to date
 x11rb^0.13.10.13.2up 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);