Affected versions
Ubuntu16.04:LTS/pgbouncer
- Affected versions
- * || =1.5.5-1 || =1.6.1-1 || =1.7-1
- Fixed version
- Not reported
Ubuntu18.04:LTS/pgbouncer
- Affected versions
- * || =1.7.2-3build1 || =1.7.2-65-g2b8e6cf-1 || =1.8.1-1 || =1.8.1-1build1
- Fixed version
- Not reported
Ubuntu20.04:LTS/pgbouncer
- Affected versions
- * || =1.10.0-1 || =1.10.0-1build1 || =1.11.0-1 || =1.12.0-2 || =1.12.0-3
- Fixed version
- Not reported
Ubuntu22.04:LTS/pgbouncer
- Affected versions
- * || =1.15.0-1 || =1.16.1-1ubuntu1
- Fixed version
- Not reported
Ubuntu24.04:LTS/pgbouncer
- Affected versions
- * || =1.20.0-1 || =1.21.0-1 || =1.22.0-1 || =1.22.0-1build1 || =1.22.0-1build3 || =1.22.0-1build4
- Fixed version
- Not reported
Ubuntu26.04:LTS/pgbouncer
- Affected versions
- * || =1.24.1-1 || =1.25.0-2 || =1.25.1-1
- Fixed version
- Not reported
Ubuntu26.10/pgbouncer
- Affected versions
- * || =1.25.1-1 || =1.25.2-1 || =1.25.2-1ubuntu1
- Fixed version
- Not reported
Description
Improper authentication in PgBouncer 1.17.0 through 1.26.0 allows a remote attacker who knows the password of a user listed in auth_file to log in as any other user that authenticates using SCRAM, including PgBouncer admin users and backend superusers. A second StartupMessage sent during SCRAM authentication against a non-existent database is not rejected and switches the user being logged in as, while the SCRAM exchange is still verified against the keys of the first user.

