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-executor

Dependencies

(17 total, 2 possibly insecure)

CrateRequiredLatestStatus
 arrayvec^0.7.00.7.4up to date
 bastion-utils^0.3.20.3.2up to date
 crossbeam-channel^0.50.5.12up to date
 crossbeam-epoch^0.90.9.18up to date
 crossbeam-queue^0.3.00.3.11up to date
 crossbeam-utils^0.80.8.19up to date
 futures-timer^3.0.23.0.3up to date
 lazy_static^1.41.4.0up to date
 lever ⚠️^0.10.1.4maybe insecure
 libc^0.20.2.153up to date
 lightproc^0.30.3.5up to date
 num_cpus^1.131.16.0up to date
 once_cell^1.4.01.19.0up to date
 pin-utils^0.1.00.1.0up to date
 tokio ⚠️^1.11.37.0maybe insecure
 tracing^0.1.190.1.40up to date
 winapi^0.3.80.3.9up to date

Dev dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 futures^0.3.50.3.30up to date
 proptest^1.01.4.0up to date
 tokio ⚠️^1.11.37.0maybe insecure
 tokio-test^0.4.00.4.4up to date
 tracing-subscriber^0.30.3.18up 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);