GHSA-5x78-73v4-xg6w

Suggest an improvement
Source
https://github.com/advisories/GHSA-5x78-73v4-xg6w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-5x78-73v4-xg6w/GHSA-5x78-73v4-xg6w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5x78-73v4-xg6w
Aliases
Downstream
Published
2026-08-24T19:43:31Z
Modified
2026-09-10T03:51:13Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
postgres-protocol: Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service
Details

A malicious, compromised, or man-in-the-middle server can supply an arbitrarily large SCRAM-SHA-256 PBKDF2 iteration count during authentication. The client runs it inline with no upper bound, pinning a tokio worker thread for minutes per connection, possibly stalling the whole async runtime.

Applications that connect only to a trusted database are not exposed; the risk applies to clients that may connect to untrusted or user-supplied servers, or whose connection can be intercepted by a man-in-the-middle.

Database specific
{
    "cwe_ids": [
        "CWE-770"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-24T19:43:31Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

crates.io / postgres-protocol

Package

Name
postgres-protocol
View open source insights on deps.dev
Purl
pkg:cargo/postgres-protocol

Affected ranges

Type
SEMVER
Events
Introduced
0.3.0
Fixed
0.6.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-5x78-73v4-xg6w/GHSA-5x78-73v4-xg6w.json"