REDHAT-BUG-2552735: High severity PgBouncer PgBouncer vulnerability
An infinite loop in PgBouncer 1.20.0 through 1.26.0 allows an unauthenticated remote attacker to cause a denial of service. A StartupMessage whose options parameter contains an empty parameter name, such as "-c=", makes the ignorestartupparameters list lookup loop forever. Because PgBouncer serves all clients from a single process, this saturates a CPU core and makes PgBouncer unresponsive to all clients until the process is restarted.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this denial of service?
PgBouncer versions 1.20.0 through 1.26.0 are affected. An unauthenticated remote attacker can trigger the issue, so deployments that accept remote client connections are exposed.
What request is needed to trigger the issue?
The attacker must send a StartupMessage whose options parameter contains an empty parameter name, for example "-c=". This causes the ignore_startup_parameters list lookup to loop indefinitely.
What is the operational impact if exploitation succeeds?
PgBouncer saturates a CPU core and becomes unresponsive to all clients because it serves clients from a single process. Service remains unavailable until the PgBouncer process is restarted.
How can an affected instance be recovered after an attack?
Restart the PgBouncer process to restore responsiveness. The provided information does not identify a configuration-only mitigation or a fixed version.