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 bastion

Dependencies

(22 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.82up to date
 artillery-core^0.1.2-alpha.30.1.2up to date
 async-mutex^1.11.4.0up to date
 bastion-executor^0.4.20.4.2up to date
 crossbeam-queue^0.3.00.3.11up to date
 futures^0.3.50.3.30up to date
 futures-timer^3.0.23.0.3up to date
 fxhash^0.20.2.1up to date
 lasso^0.60.7.2out of date
 lazy_static^1.41.4.0up to date
 lever ⚠️^0.10.1.4maybe insecure
 lightproc^0.30.3.5up to date
 log^0.4.140.4.21up to date
 nuclei^0.10.4.4out of date
 once_cell^1.7.21.19.0up to date
 pin-utils^0.10.1.0up to date
 serde^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 thiserror^1.0.241.0.59up to date
 tracing^0.1.150.1.40up to date
 tracing-subscriber^0.30.3.18up to date
 uuid^0.81.8.0out of date

Dev dependencies

(10 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bastion-utils^0.3.20.3.2up to date
 env_logger^0.90.11.3out of date
 num_cpus^1.13.01.16.0up to date
 once_cell^1.5.21.19.0up to date
 proptest^1.01.4.0up to date
 rand^0.80.8.5up to date
 rayon^1.3.11.10.0up to date
 snap^1.01.1.1up to date
 tokio ⚠️^1.11.37.0maybe insecure
 tokio-test^0.4.00.4.4up to date

Security Vulnerabilities

lever: AtomicBox<T> lacks bound on its Send and Sync traits allowing data races

RUSTSEC-2020-0137

AtomicBox<T> is a Box type designed to be used across threads, however, it implements the Send and Sync traits for all types T.

This allows non-Send types such as Rc and non-Sync types such as Cell to be used across thread boundaries which can trigger undefined behavior and memory corruption.

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