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 axum-extra

Dependencies

(27 total, 1 possibly insecure)

CrateRequiredLatestStatus
 axum^0.7.20.7.5up to date
 axum-core^0.4.30.4.3up to date
 axum-macros^0.4.10.4.1up to date
 bytes^1.1.01.6.0up to date
 cookie^0.18.00.18.1up to date
 form_urlencoded^1.1.01.2.1up to date
 futures-util^0.30.3.30up to date
 headers^0.4.00.4.0up to date
 http^1.0.01.1.0up to date
 http-body^1.0.01.0.0up to date
 http-body-util^0.1.00.1.1up to date
 mime^0.30.3.17up to date
 multer^3.0.03.1.0up to date
 percent-encoding^2.12.3.1up to date
 pin-project-lite^0.20.2.14up to date
 prost^0.120.12.4up to date
 serde^1.01.0.201up to date
 serde_html_form^0.2.00.2.6up to date
 serde_json^1.0.711.0.117up to date
 serde_path_to_error^0.1.80.1.16up to date
 tokio ⚠️^1.191.37.0maybe insecure
 tokio-stream^0.1.90.1.15up to date
 tokio-util^0.70.7.11up to date
 tower^0.40.4.13up to date
 tower-layer^0.30.3.2up to date
 tower-service^0.30.3.2up to date
 tracing^0.1.370.1.40up to date

Dev dependencies

(8 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 axum^0.7.20.7.5up to date
 hyper^1.0.01.3.1up to date
 reqwest^0.110.12.4out of date
 serde^1.01.0.201up to date
 serde_json^1.0.711.0.117up to date
 tokio ⚠️^1.141.37.0maybe insecure
 tower^0.40.4.13up to date
 tower-http^0.5.00.5.2up 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);