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

(26 total, 6 outdated, 2 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.190.4.41maybe insecure
 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
 hostname-validator^1.1.01.1.1up to date
 humantime^2.1.02.2.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.563.1.10out of date
 poem-openapi-derive^2.0.275.1.14out of date
 quick-xml=0.26.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.563.1.10out of date
 tokio ⚠️^1.17.01.45.0maybe insecure

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

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