tokio-postgres is vulnerable to Denial of Service (DoS)
69
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range and if its possible connect to untrusted or user-supplied servers.
tokio-postgres is vulnerable to Denial of Service (DoS) in versions 0.4.0 - 0.7.17.
Upgrade the tokio-postgres library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant