Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. postgres-protocol
  4. ›
  5. GHSA-5x78-73v4-xg6w

GHSA-5x78-73v4-xg6w: postgres-protocol: Unbounded SCRAM iteration count allows a malicious server to cause CPU-exhaustion denial of service

August 24, 2026

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.

References

  • github.com/advisories/GHSA-5x78-73v4-xg6w
  • github.com/rust-postgres/rust-postgres/commit/d40097a36a85068ea50a3afbf0ce154ba439e7f0
  • github.com/rust-postgres/rust-postgres/releases/tag/postgres-protocol-v0.6.12
  • rustsec.org/advisories/RUSTSEC-2026-0179.html

Code Behaviors & Features

Detect and mitigate GHSA-5x78-73v4-xg6w with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.3.0 before 0.6.12

Fixed versions

  • 0.6.12

Solution

Upgrade to version 0.6.12 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

cargo/postgres-protocol/GHSA-5x78-73v4-xg6w.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:23 +0000.