Skip to content

chore(deps): bump org.postgresql:postgresql from 42.7.11 to 42.7.12 in /javav2/usecases/Creating_Spring_RDS_Rest - #8025

Merged
scmacdon merged 1 commit into
mainfrom
dependabot/maven/javav2/usecases/Creating_Spring_RDS_Rest/org.postgresql-postgresql-42.7.12
Jul 29, 2026
Merged

chore(deps): bump org.postgresql:postgresql from 42.7.11 to 42.7.12 in /javav2/usecases/Creating_Spring_RDS_Rest#8025
scmacdon merged 1 commit into
mainfrom
dependabot/maven/javav2/usecases/Creating_Spring_RDS_Rest/org.postgresql-postgresql-42.7.12

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps org.postgresql:postgresql from 42.7.11 to 42.7.12.

Release notes

Sourced from org.postgresql:postgresql's releases.

v42.7.12: security

Silent channel-binding authentication downgrade (CVE-2026-54291)

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 triggers the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash. Examples are Ed25519, Ed448, and post-quantum algorithms.

Two issues combine in releases 42.7.4 through 42.7.11:

The bundled com.ongres.scram:scram-client (3.1 or 3.2) returns an empty byte array instead of failing when it cannot derive the binding hash for such a certificate. This is the library issue tracked as GHSA-p9jg-fcr6-3mhf.

pgJDBC does not enforce channelBinding=require where it matters. ScramAuthenticator checks only that the server advertised a -PLUS mechanism; it neither rejects the empty binding nor checks that the negotiated mechanism uses channel binding. The connection therefore downgrades silently.

Only connections that set channelBinding=require are affected. Under the default prefer policy, and under allow or disable, falling back to plain SCRAM is the documented behaviour.

Releases before 42.7.4 are unaffected, because they do not support channel binding.

Changelog

Sourced from org.postgresql:postgresql's changelog.

[42.7.12] (2026-06-29)

Security

  • fix: Enforce SCRAM channel-binding policy and prevent silent downgrade. Under channelBinding=require, the driver silently downgraded from SCRAM-SHA-256-PLUS (with channel binding) to plain SCRAM-SHA-256 (without it) when the server presented a certificate whose signature algorithm has no tls-server-end-point channel-binding hash (e.g. Ed25519, Ed448, or post-quantum algorithms). An attacker who can intercept the TLS connection could exploit this to strip channel-binding protection. The fix enforces channel binding in the driver's own code: it now fails the connection when no binding data can be extracted, and verifies the negotiated mechanism uses channel binding (-PLUS) when require is set. Only connections that set channelBinding=require are affected. The default prefer policy and releases before 42.7.4 (which introduced channel-binding support) are unaffected. See the Security Advisory for more detail. The following CVE-2026-54291 has been issued.
Commits

@dependabot dependabot Bot added dependencies Pull request that updates a dependency file. java Pull requests that update Java code labels Jul 27, 2026
@github-actions github-actions Bot added the Java-v2 This issue relates to the AWS SDK for Java V2 label Jul 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/maven/javav2/usecases/Creating_Spring_RDS_Rest/org.postgresql-postgresql-42.7.12 branch 6 times, most recently from d1b9257 to 9416b15 Compare July 29, 2026 16:52
@scmacdon scmacdon added the On Call Review complete On call review complete label Jul 29, 2026
Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.7.11 to 42.7.12.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](pgjdbc/pgjdbc@REL42.7.11...REL42.7.12)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-version: 42.7.12
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@scmacdon
scmacdon force-pushed the dependabot/maven/javav2/usecases/Creating_Spring_RDS_Rest/org.postgresql-postgresql-42.7.12 branch from 9416b15 to 68d94ab Compare July 29, 2026 16:58
@scmacdon
scmacdon merged commit a2e2625 into main Jul 29, 2026
18 checks passed
@scmacdon
scmacdon deleted the dependabot/maven/javav2/usecases/Creating_Spring_RDS_Rest/org.postgresql-postgresql-42.7.12 branch July 29, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull request that updates a dependency file. java Pull requests that update Java code Java-v2 This issue relates to the AWS SDK for Java V2 On Call Review complete On call review complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant