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 poem-openapi

Dependencies

(31 total, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.22.00.22.1up to date
 bson^2.0.02.10.0up to date
 bytes^1.1.01.6.0up to date
 chrono^0.4.310.4.38up to date
 derive_more^0.99.160.99.17up to date
 email_address^0.2.10.2.4up to date
 futures-util^0.3.170.3.30up to date
 geo-types^0.7.120.7.13up to date
 geojson^0.24.10.24.1up to date
 hostname-validator^1.1.01.1.1up to date
 humantime^2.1.02.1.0up to date
 indexmap^2.0.02.2.6up to date
 ipnet^2.7.12.9.0up to date
 mime^0.3.160.3.17up to date
 num-traits^0.2.140.2.19up to date
 poem^3.0.03.0.0up to date
 poem-openapi-derive^5.0.05.0.0up to date
 prost-wkt-types^0.5.00.5.1up to date
 quick-xml^0.31.00.31.0up to date
 regex^1.5.51.10.4up to date
 rust_decimal^1.22.01.35.0up to date
 serde^1.0.1301.0.201up to date
 serde_json^1.0.681.0.117up to date
 serde_urlencoded^0.7.10.7.1up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 static_assertions^1.1.01.1.0up to date
 thiserror^1.0.301.0.60up to date
 time^0.3.90.3.36up to date
 tokio ⚠️^1.17.01.37.0maybe insecure
 url^2.2.22.5.0up to date
 uuid^1.1.01.8.0up to date

Dev dependencies

(2 total, 1 possibly insecure)

CrateRequiredLatestStatus
 poem^3.0.03.0.0up to date
 tokio ⚠️^1.17.01.37.0maybe insecure

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