You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
High severity
GitHub Reviewed
Published
Jun 11, 2025
in
pgjdbc/pgjdbc
•
Updated Jun 11, 2025
When the PostgreSQL JDBC driver is configured with channel binding set to required (default value is prefer), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements.
Patches
TBD
Workarounds
Configure sslMode=verify-full to prevent MITM attacks.
Impact
When the PostgreSQL JDBC driver is configured with channel binding set to
required
(default value isprefer
), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements.Patches
TBD
Workarounds
Configure
sslMode=verify-full
to prevent MITM attacks.References
References