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

(30 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.21.00.22.1out of date
 bson^2.0.02.14.0up to date
 bytes^1.1.01.10.1up to date
 chrono^0.4.310.4.41up to date
 derive_more^0.99.162.0.1out of date
 email_address^0.2.10.2.9up to date
 futures-util^0.3.170.3.31up to date
 geo-types^0.7.120.7.16up to date
 geojson^0.24.10.24.2up to date
 hostname-validator^1.1.01.1.1up to date
 humantime^2.1.02.2.0up to date
 indexmap^2.0.02.9.0up to date
 ipnet^2.7.12.11.0up to date
 mime^0.3.160.3.17up to date
 num-traits^0.2.140.2.19up to date
 poem^1.3.593.1.10out of date
 poem-openapi-derive^3.0.65.1.14out of date
 prost-wkt-types^0.5.00.6.1out of date
 quick-xml^0.30.00.37.5out of date
 regex^1.5.51.11.1up to date
 rust_decimal^1.22.01.37.1up to date
 serde^1.0.1301.0.219up to date
 serde_json^1.0.681.0.140up to date
 serde_urlencoded^0.7.10.7.1up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 thiserror^1.0.302.0.12out of date
 time^0.3.90.3.41up to date
 tokio ⚠️^1.17.01.45.0maybe insecure
 url^2.2.22.5.4up to date
 uuid^1.1.01.16.0up to date

Dev dependencies

(2 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 poem^1.3.593.1.10out of date
 tokio ⚠️^1.17.01.45.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);