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.1up to date
 dotenvy^0.15.70.15.7up to date
 either^1.6.11.15.0up to date
 heck^0.50.5.0up to date
 hex^0.4.30.4.3up to date
 once_cell^1.9.01.21.3up to date
 proc-macro2^1.0.791.0.94up to date
 quote^1.0.261.0.40up to date
 serde^1.0.1321.0.219up to date
 serde_json^1.0.731.0.140up to date
 sha2^0.10.00.10.8up to date
 sqlx-core=0.8.40.8.4up to date
 sqlx-mysql=0.8.40.8.4up to date
 sqlx-postgres=0.8.40.8.4up to date
 sqlx-sqlite=0.8.40.8.4up to date
 syn^2.0.522.0.100up to date
 tempfile^3.10.13.19.1up to date
 tokio ⚠️^11.44.2maybe insecure
 url^2.2.22.5.4up 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);