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, 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.50.5.0up to date
 hex^0.4.30.4.3up to date
 once_cell^1.9.01.20.2up to date
 proc-macro2^1.0.791.0.88up to date
 quote^1.0.261.0.37up to date
 serde^1.0.1321.0.210up to date
 serde_json^1.0.731.0.129up to date
 sha2^0.10.00.10.8up to date
 sqlx-core=0.8.20.8.2up to date
 sqlx-mysql=0.8.20.8.2up to date
 sqlx-postgres=0.8.20.8.2up to date
 sqlx-sqlite=0.8.20.8.2up to date
 syn^2.0.522.0.79up to date
 tempfile^3.10.13.13.0up to date
 tokio ⚠️^11.40.0maybe insecure
 url^2.2.22.5.2up 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);