{"id":"RUSTSEC-2026-0178","revision":null,"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":[]},{"revision":"b3457019e79e4c80a8b10a6e694d8269","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0178","aliases":["GHSA-3gjw-f78c-vvpw"],"title":"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-06-12T12:00:00+00:00","modifiedAt":"2026-08-25T02:45:03.4370119+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}],"references":["https://crates.io/crates/tokio-postgres","https://rustsec.org/advisories/RUSTSEC-2026-0178.html","https://github.com/rust-postgres/rust-postgres/commit/7a00ffa9ad4d951ec0a4564b52f1780fa9d353c1"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0178","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0178","identifiers":["RUSTSEC-2026-0178","GHSA-3gjw-f78c-vvpw"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-20T23:48:56.5540091+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-20T23:48:56.5540091+00:00","lastSuccessAt":"2026-11-20T23:48:56.7216606+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:48:56.7216612+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-bd872821125c9bcacb584d3428a46db895b5d27248c73918c8002f9ddf79f8c5","complete":true,"records":430005,"lastAttemptAt":"2026-11-21T00:46:34.5918034+00:00","lastSuccessAt":"2026-11-20T23:46:06.8938417+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:46:07.0248197+00:00","snapshotPublishedAt":"2026-11-20T23:27:58+00:00","importing":true,"stagedRecords":76500,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e5f1c34583114e6f949ac55396169fbe","complete":false,"records":13916,"lastAttemptAt":"2026-11-20T23:50:00.3637161+00:00","lastSuccessAt":"2026-11-20T23:50:00.359+00:00","error":"48 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T23:50:00.359+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13916,"expectedIdentifiers":13964,"failedIdentifiers":48},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-20T23:48:56.5540091+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-20T23:48:56.5540091+00:00","lastSuccessAt":"2026-11-20T23:48:56.7224559+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:48:56.722456+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-59fa998ab8f045e5bf7b63e0a8e71d62","complete":true,"records":13928,"lastAttemptAt":"2026-11-20T23:49:21.4685355+00:00","lastSuccessAt":"2026-11-20T23:49:21.464+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:49:21.464+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13964,"expectedIdentifiers":13964,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-6109a93f358d2a48b4e04c81f35c93c13510375d894a9188c8497ec2d3b40fa7","complete":true,"records":9989,"lastAttemptAt":"2026-11-20T23:48:51.5987776+00:00","lastSuccessAt":"2026-11-20T23:48:51.3935741+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:48:51.5987776+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-20T23:46:07.0737195+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:46:07.0737195+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-20T23:48:56.5098488+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:48:56.5098488+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-7273cabb6655b764f30071ac08b0b58f3dcae684b75e4d1e15158dada00514fc","complete":true,"records":232845,"lastAttemptAt":"2026-11-20T23:48:42.5652049+00:00","lastSuccessAt":"2026-11-20T23:48:41.4631019+00:00","error":null,"lastVerifiedAt":"2026-11-20T23:48:42.5652049+00:00","snapshotPublishedAt":"2026-11-20T23:33:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}