{"id":"RUSTSEC-2026-0179","revision":"43bfd0dc96b94134ab7d47310288e55c","records":[{"revision":"43bfd0dc96b94134ab7d47310288e55c","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2026-0179","aliases":["GHSA-5x78-73v4-xg6w"],"title":"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-06-12T12:00:00+00:00","modifiedAt":"2026-08-25T02:45:03.4338167+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}],"references":["https://crates.io/crates/postgres-protocol","https://rustsec.org/advisories/RUSTSEC-2026-0179.html","https://github.com/rust-postgres/rust-postgres/commit/d40097a36a85068ea50a3afbf0ce154ba439e7f0","https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0179","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2026-0179","identifiers":["RUSTSEC-2026-0179","GHSA-5x78-73v4-xg6w"]},"retained":false,"historicalAffected":[]}],"coverage":[]}