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 sql_reveser_struct

Dependencies

(14 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 Inflector^0.11.40.11.4up to date
 async-trait^0.1.530.1.80up to date
 mysql^22.1.025.0.0out of date
 once_cell^1.10.01.19.0up to date
 postgres^0.19.30.19.7up to date
 quicli^0.4.00.4.0up to date
 regex^1.5.51.10.4up to date
 serde^1.0.1361.0.201up to date
 serde_yaml^0.8.230.9.34+deprecatedout of date
 sql_reveser_error^0.1N/Aup to date
 sql_reveser_template^0.1N/Aup to date
 tokio ⚠️^11.37.0maybe insecure
 tokio-postgres^0.7.60.7.10up to date
 tracing^0.1.340.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);