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 actix-web-lab

Dependencies

(33 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 actix-files^0.60.6.7up to date
 actix-http^33.11.1up to date
 actix-router^0.50.5.3up to date
 actix-service^22.0.3up to date
 actix-utils^33.0.1up to date
 actix-web^4.34.11.0up to date
 actix-web-lab-derive=0.20.00.24.0out of date
 ahash^0.80.8.12up to date
 arc-swap^1.11.7.1up to date
 async-trait^0.10.1.89up to date
 bytes^11.10.1up to date
 bytestring^11.4.0up to date
 csv^1.11.3.1up to date
 derive_more^0.99.82.0.1out of date
 futures-core^0.3.170.3.31up to date
 futures-util^0.3.170.3.31up to date
 http^0.2.71.3.1out of date
 impl-more^0.1.30.3.1out of date
 itertools^0.110.14.0out of date
 local-channel^0.10.1.5up to date
 mediatype^0.190.20.0out of date
 mime^0.30.3.17up to date
 once_cell^1.81.21.3up to date
 pin-project-lite^0.2.70.2.16up to date
 regex^1.5.51.11.2up to date
 rmp-serde^11.3.0up to date
 serde^11.0.219up to date
 serde_cbor_2^0.12.0-dev0.13.0out of date
 serde_html_form^0.20.2.7up to date
 serde_json^11.0.143up to date
 tokio ⚠️^1.18.51.47.1maybe insecure
 tokio-stream^0.1.10.1.17up to date
 tracing^0.1.300.1.41up 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);