REDHAT-BUG-2539545: High severity PgBouncer PgBouncer vulnerability
Missing validation of a mandatory attribute in the SCRAM client-final-message parser in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to crash the process. A malformed message can make the parser report success while leaving a required value unset, which is then dereferenced as a NULL pointer. The crash occurs before any credential is verified, so no valid account is required. Because PgBouncer serves all clients from a single process, this terminates every pooled connection.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker only needs network access to send a malformed SCRAM client-final message to PgBouncer. No valid account or credentials are required because the crash happens before credential verification.
What is the operational impact of a successful attack?
PgBouncer crashes, terminating every pooled connection because all clients are served by a single process.
Which PgBouncer versions are affected?
The issue is described as affecting PgBouncer through version 1.25.2.