Skip to content
OpenAdvisories

Description

pgjdbc is an open source postgresql JDBC Driver. In releases 42.7.4 through 42.7.11, channelBinding=require connections can be silently downgraded from SCRAM-SHA-256-PLUS with channel binding to plain SCRAM-SHA-256 without it, losing the man-in-the-middle protection the setting is meant to guarantee. An attacker who can intercept the TLS connection can trigger the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, because the bundled com.ongres.scram:scram-client returns an empty byte array instead of failing and pgJDBC ScramAuthenticator checks only that the server advertised a PLUS mechanism, without rejecting the empty binding or checking that the negotiated mechanism uses channel binding. This issue is fixed in version 42.7.12.

Affected products

VendorProductAffectedFixed
pgjdbc pgjdbc >= 42.7.4, < 42.7.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libpgjava 42.7.12-1 —
Debian 13 libpgjava No fix yet —
Debian 12 libpgjava No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libpgjava No fix yet —
Ubuntu 26.04 LTS libpgjava No fix yet —
Ubuntu 25.10 libpgjava No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apicurio-registry 3.3.0-r11 —
Wolfi rolling debezium-3.5-connector-jdbc +1 3.5.2-r11 —
Wolfi rolling debezium-3.6-connector-jdbc +1 3.6.2-r1 —
Wolfi rolling dependency-track +1 4.14.2-r6 —
Wolfi rolling druid 37.0.0-r43 —
Wolfi rolling flyway 13.0.0-r1 —
Wolfi rolling keycloak-26.5 +1 No fix yet —
Wolfi rolling keycloak-26.6 +1 26.6.4-r19 —
Wolfi rolling sonarqube 26.7.0.124771-r1 —
Wolfi rolling thingsboard-tb-node 4.3.1.3-r8 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.postgresql:postgresql >= 42.7.4, < 42.7.12 42.7.12 GHSA-j92g-9f8w-j867

Advisories 5

References