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

Dependencies

(42 total, 3 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 async-io^1.9.02.4.0out of date
 async-std^1.121.13.0up to date
 bigdecimal^0.4.00.4.7up to date
 bit-vec^0.6.30.8.0out of date
 bstr^1.01.11.3up to date
 bytes^1.1.01.9.0up to date
 chrono^0.4.340.4.39up to date
 crc^33.2.1up to date
 crossbeam-queue^0.3.20.3.12up to date
 either^1.6.11.13.0up to date
 event-listener^5.2.05.4.0up to date
 futures-core^0.3.190.3.31up to date
 futures-intrusive^0.5.00.5.0up to date
 futures-io^0.3.240.3.31up to date
 futures-util^0.3.190.3.31up to date
 hashbrown ⚠️^0.15.00.15.2maybe insecure
 hashlink^0.10.00.10.0up to date
 indexmap^2.02.7.0up to date
 ipnetwork^0.20.00.21.1out of date
 log^0.4.180.4.22up to date
 mac_address^1.1.51.1.7up to date
 memchr^2.4.12.7.4up to date
 native-tls^0.2.100.2.12up to date
 once_cell^1.9.01.20.2up to date
 percent-encoding^2.1.02.3.1up to date
 regex^1.5.51.11.1up to date
 rust_decimal^1.26.11.36.0up to date
 rustls ⚠️^0.23.110.23.21maybe insecure
 rustls-native-certs^0.8.00.8.1up to date
 rustls-pemfile^22.2.0up to date
 serde^1.0.1321.0.217up to date
 serde_json^1.0.731.0.135up to date
 sha2^0.10.00.10.8up to date
 smallvec^1.7.01.13.2up to date
 thiserror^2.0.02.0.11up to date
 time^0.3.360.3.37up to date
 tokio ⚠️^11.43.0maybe insecure
 tokio-stream^0.1.80.1.17up to date
 tracing^0.1.370.1.41up to date
 url^2.2.22.5.4up to date
 uuid^1.1.21.11.1up to date
 webpki-roots^0.260.26.7up to date

Dev dependencies

(2 total, 1 possibly insecure)

CrateRequiredLatestStatus
 sqlx=0.8.30.8.3up to date
 tokio ⚠️^11.43.0maybe insecure

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

rustls: rustls network-reachable panic in `Acceptor::accept`

RUSTSEC-2024-0399

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept() are affected.

Servers that use tokio-rustls's LazyConfigAcceptor API are affected.

Servers that use tokio-rustls's TlsAcceptor API are not affected.

Servers that use rustls-ffi's rustls_acceptor_accept API are affected.

hashbrown: Borsh serialization of HashMap is non-canonical

RUSTSEC-2024-0402

The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.

This can result in consensus splits and cause equivalent objects to be considered distinct.

This was patched in 0.15.1.