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 deadpool-postgres

Dependencies

(5 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 deadpool^0.9.00.13.0out of date
 log^0.40.4.33up to date
 serde^1.01.0.228up to date
 tokio ⚠️^11.52.3maybe insecure
 tokio-postgres ⚠️^0.7.20.7.18maybe insecure

Dev dependencies

(4 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 config^0.130.15.24out of date
 dotenv^0.15.00.15.0up to date
 futures^0.3.10.3.32up to date
 tokio ⚠️^1.01.52.3maybe 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);

tokio-postgres: Panic on a `DataRow` with fewer fields than columns allows denial of service

RUSTSEC-2026-0178

A malicious or compromised server can send a row containing fewer fields than its row description declares columns. Reading one of the missing columns then panics with an out-of-bounds index, aborting the calling task. This affects even the otherwise non-panicking try_get, and both Row and SimpleQueryRow.

Applications that connect only to a trusted database are not exposed; the risk applies to clients that may connect to untrusted or user-supplied servers, or whose connection can be intercepted by a man-in-the-middle.