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

(32 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 actix-files^0.60.6.6up to date
 actix-http^33.7.0up to date
 actix-router^0.50.5.3up to date
 actix-service^22.0.2up to date
 actix-utils^33.0.1up to date
 actix-web^4.34.7.0up to date
 actix-web-lab-derive=0.19.00.20.0out of date
 ahash^0.80.8.11up to date
 arc-swap^1.11.7.1up to date
 async-trait^0.10.1.80up to date
 bytes^11.6.0up to date
 bytestring^11.3.1up to date
 csv^1.11.3.0up to date
 derive_more^0.99.80.99.17up to date
 futures-core^0.3.170.3.30up to date
 futures-util^0.3.170.3.30up to date
 http^0.2.71.1.0out of date
 impl-more^0.1.30.1.6up to date
 itertools^0.110.13.0out of date
 local-channel^0.10.1.5up to date
 mediatype^0.190.19.18up to date
 mime^0.30.3.17up to date
 once_cell^1.81.19.0up to date
 pin-project-lite^0.2.70.2.14up to date
 regex^1.5.51.10.5up to date
 rmp-serde^11.3.0up to date
 serde^11.0.203up to date
 serde_cbor_2^0.12.0-devN/Aup to date
 serde_html_form^0.20.2.6up to date
 serde_json^11.0.117up to date
 tokio ⚠️^1.18.51.38.0maybe insecure
 tracing^0.1.300.1.40up 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);