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 tuirealm

Dependencies

(13 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.89up to date
 bitflags^22.10.0up to date
 crossterm^0.290.29.0up to date
 dyn-clone^11.0.20up to date
 futures-util^0.30.3.31up to date
 lazy-regex^33.5.1up to date
 ratatui^0.290.30.0out of date
 serde^11.0.228up to date
 termion^44.0.6up to date
 thiserror^22.0.18up to date
 tokio ⚠️^11.49.0maybe insecure
 tokio-util^0.70.7.18up to date
 tuirealm_derive^22.0.1up to date

Dev dependencies

(4 total, 1 possibly insecure)

CrateRequiredLatestStatus
 pretty_assertions^11.4.1up to date
 tempfile^33.24.0up to date
 tokio ⚠️^11.49.0maybe insecure
 toml^0.90.9.11+spec-1.1.0up 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);