{"id":"GHSA-5x78-73v4-xg6w","revision":"db08213bf6f6433bb8a1dbdf0159fb1d","records":[{"revision":"db08213bf6f6433bb8a1dbdf0159fb1d","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-5x78-73v4-xg6w","aliases":["RUSTSEC-2026-0179"],"title":"postgres-protocol: Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service","description":"A malicious, compromised, or man-in-the-middle server can supply an arbitrarily\nlarge SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client\nruns it inline with no upper bound, pinning a `tokio` worker thread for minutes\nper connection, possibly stalling the whole async runtime.\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:43:31+00:00","modifiedAt":"2026-09-10T03:51:13.1313424+00:00","affected":[{"ecosystem":"crates.io","name":"postgres-protocol","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"0.6.12"}]}],"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:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/rust-postgres/rust-postgres/commit/d40097a36a85068ea50a3afbf0ce154ba439e7f0","https://github.com/rust-postgres/rust-postgres","https://github.com/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12","https://rustsec.org/advisories/RUSTSEC-2026-0179.html"],"sourceUrl":"https://github.com/advisories/GHSA-5x78-73v4-xg6w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5x78-73v4-xg6w","identifiers":["GHSA-5x78-73v4-xg6w","RUSTSEC-2026-0179"]},"retained":false,"historicalAffected":[]}],"coverage":[]}