{"id":"GHSA-3gjw-f78c-vvpw","revision":"614fd8ecbb2b4428a4ab2ace3be7bc39","records":[{"revision":"614fd8ecbb2b4428a4ab2ace3be7bc39","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-3gjw-f78c-vvpw","aliases":["RUSTSEC-2026-0178"],"title":"tokio-postgres: Panic on a `DataRow` with fewer fields than columns allows denial of service","description":"A malicious or compromised server can send a row containing fewer fields than\nits row description declares columns. Reading one of the missing columns then\npanics with an out-of-bounds index, aborting the calling task. This affects even\nthe otherwise non-panicking `try_get`, and both `Row` and `SimpleQueryRow`.\n\nApplications that connect only to a trusted database are not exposed; the risk\napplies to clients that may connect to untrusted or user-supplied servers, or\nwhose connection can be intercepted by a man-in-the-middle.","state":0,"publishedAt":"2026-08-24T19:49:17+00:00","modifiedAt":"2026-08-25T02:55:59.5573906+00:00","affected":[{"ecosystem":"crates.io","name":"tokio-postgres","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.4.0"},{"kind":"fixed","version":"0.7.18"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/rust-postgres/rust-postgres/commit/7a00ffa9ad4d951ec0a4564b52f1780fa9d353c1","https://github.com/rust-postgres/rust-postgres","https://github.com/rust-postgres/rust-postgres/releases/tag/tokio-postgres-v0.7.18","https://rustsec.org/advisories/RUSTSEC-2026-0178.html"],"sourceUrl":"https://github.com/advisories/GHSA-3gjw-f78c-vvpw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-3gjw-f78c-vvpw","identifiers":["GHSA-3gjw-f78c-vvpw","RUSTSEC-2026-0178"]},"retained":false,"historicalAffected":[]}],"coverage":[]}