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 sqlx-macros-core

Dependencies

(19 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-std^1.121.13.0up to date
 dotenvy^0.15.00.15.7up to date
 either^1.6.11.13.0up to date
 heck^0.40.5.0out of date
 hex^0.4.30.4.3up to date
 once_cell^1.9.01.20.2up to date
 proc-macro2^1.0.361.0.89up to date
 quote^1.0.141.0.37up to date
 serde^1.0.1321.0.215up to date
 serde_json^1.0.731.0.133up to date
 sha2^0.10.00.10.8up to date
 sqlx-core=0.7.40.8.2out of date
 sqlx-mysql=0.7.40.8.2out of date
 sqlx-postgres=0.7.40.8.2out of date
 sqlx-sqlite=0.7.40.8.2out of date
 syn^1.0.842.0.87out of date
 tempfile^3.3.03.14.0up to date
 tokio ⚠️^11.41.1maybe insecure
 url^2.2.22.5.3up 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);