Bump org.postgresql:postgresql from 42.2.12 to 42.7.11 in /JDBC/jdbc-check-connection-postgre by dependabot[bot] · Pull Request #95 · cherkavi/java-code-example
Bumps org.postgresql:postgresql from 42.2.12 to 42.7.11.
Release notes
Sourced from org.postgresql:postgresql's releases.
v42.7.11
Security
- fix: Limit SCRAM PBKDF2 iterations accepted from the server. pgjdbc was vulnerable to a client-side denial of service in SCRAM-SHA-256 authentication, where a malicious or compromised PostgreSQL server could specify an extremely large PBKDF2 iteration count, causing the client to consume unbounded CPU and potentially exhaust connection pools. The fix introduces a new scramMaxIterations connection property (defaulting to 100,000) to cap iteration counts before computation begins. See the Security Advisory for more detail. The following CVE-2026-42198 has been issued.
Changes
- fix: Add sources and javadocs to shaded published lib generation
@sehrope(#4043)- update Changelog and website for release of 42.7.11
@davecramer(#4042)- Fix scram fix location in changelog and update published artifact developer list
@sehrope(#4041)- Restrict test with scram_iterations to v16+ and release notes
@sehrope(#4040)- chore(deps): update ubuntu:24.04 docker digest to 84e77de
@renovate-bot(#4017)- test: add tests for QueryExecutor#getTransactionState
@vlsi(#4006)- chore(deps): update actions/create-github-app-token action to v2.2.2
@renovate-bot(#3983)- fix: fix flaky CopyBothResponseTest by using WAL flush LSN
@vlsi(#3979)- fix: fix flaky replication restart tests by waiting for confirmed_flush_lsn
@vlsi(#3975)- test: fix flaky LogicalReplicationStatusTest by polling pg_stat_replication
@vlsi(#3974)- chore: replace Appveyor with ikalnytskyi/action-setup-postgres
@vlsi(#3966)- test: move test table creation from
@BeforeEachto@BeforeAll@vlsi(#3967)- Return jsonb as PGObject fixes Issue #3926
@davecramer(#3956)- Update docker scripts
@davecramer(#3958)- implement require_auth, this is pretty much how libpq does this.
@davecramer(#3895)- docs: add SCRAM authentication test setup section to TESTING.md
@emmaeng700(#3945)- Add RequireServerVersion annotation for tests
@sehrope(#3939)🐛 Bug Fixes
- fix: ensure extended protocol messages end with Sync message
@vlsi(#3728)- fix: enable cursor-based fetching in extended protocol when transaction started via SQL command
@vlsi(#3996)- fix: retry with SSL on IOException when sslMode=ALLOW
@vlsi(#3973)- fix: allow fallback to non-SSL connection when sslMode=prefer and sslResponseTimeout kicks in
@vlsi(#3968)- fix: catch SecurityException from setContextClassLoader on ForkJoinPool workers
@vlsi(#3962)- fix: use compareTo for LogSequenceNumber comparison
@vlsi(#3961)- fix: release COPY lock on IOException to prevent connection hang (#3957)
@vlsi(#3960)🧰 Maintenance
- style: replace
@exceptionwith@throwsin getBoolean javadoc@vlsi(#4035)- chore: use
@vlsi/github-actions-random-matrixnpm package@vlsi(#4008)- chore: use tag names for pinning github actions, pin ikalnytskyi/action-setup-postgres
@vlsi(#4007)- chore: bump errorprone to 2.48.0
@vlsi(#4005)- test: add
@DisableLoggerannotation to suppress expected log warnings in tests@vlsi(#3971)- chore: suppress deprecations in test code to reduce build verbosity
@vlsi(#3972)- chore: replace log warning in ConnectionFactory.closeStream with Throwable.addSuppressed
@vlsi(#3970)- chore: use greedy pairwise coverage for CI matrix generation
@vlsi(#3965)- chore: use full version tags in GitHub Actions comments
@vlsi(#3963)⬆️ Dependencies
... (truncated)
Changelog
Sourced from org.postgresql:postgresql's changelog.
[42.7.11] (2026-04-28)
Security
- fix: Limit SCRAM PBKDF2 iterations accepted from the server. pgjdbc was vulnerable to a client-side denial of service in SCRAM-SHA-256 authentication, where a malicious or compromised PostgreSQL server could specify an extremely large PBKDF2 iteration count, causing the client to consume unbounded CPU and potentially exhaust connection pools. The fix introduces a new scramMaxIterations connection property (defaulting to 100,000) to cap iteration counts before computation begins. See the Security Advisory for more detail. The following CVE-2026-42198 has been issued.
Added
- feat: implement require_auth connection property, aligning with libpq behavior [PR #3895](pgjdbc/pgjdbc#3895)
Changed
- chore: replace Appveyor CI with ikalnytskyi/action-setup-postgres [PR #3966](pgjdbc/pgjdbc#3966)
- chore: upgrade Gradle to v9 [PR #3978](pgjdbc/pgjdbc#3978)
Fixed
- fix: ensure extended protocol messages end with Sync message [PR #3728](pgjdbc/pgjdbc#3728)
- fix: enable cursor-based fetching in extended protocol when transaction started via SQL command [PR #3996](pgjdbc/pgjdbc#3996)
- fix: retry with SSL on IOException when sslMode=ALLOW [PR #3973](pgjdbc/pgjdbc#3973)
- fix: make sure the driver honours connectTimeout when retrying the connection [PR #3968](pgjdbc/pgjdbc#3968)
- fix: allow fallback to non-SSL connection when sslMode=prefer and sslResponseTimeout kicks in [PR #3968](pgjdbc/pgjdbc#3968)
- fix: catch SecurityException from setContextClassLoader on ForkJoinPool workers [PR #3962](pgjdbc/pgjdbc#3962)
- fix: use compareTo for LogSequenceNumber comparison to handle unsigned values correctly [PR #3961](pgjdbc/pgjdbc#3961)
- fix: release COPY lock on IOException to prevent connection hang [PR #3957](pgjdbc/pgjdbc#3957)
- fix: return jsonb as PGObject instead of String [PR #3956](pgjdbc/pgjdbc#3956)
- fix: align SSL key file permission check with libpq [PR #3952](pgjdbc/pgjdbc#3952)
- fix: guard connection closed flag with a reentrant lock to protect against concurrent close [PR #3905](pgjdbc/pgjdbc#3905)
[42.7.10] (2026-02-11)
Changed
- chore: Migrate to Shadow 9 PR 3931
- style: fix empty line before javadoc for checkstyle compliance [PR #3925](pgjdbc/pgjdbc#3925)
- style: fix lambda argument indentation for checkstyle compliance [PR #3922](pgjdbc/pgjdbc#3922)
- test: add autosave=always|never|conservative and cleanupSavepoints=true|false to the randomized CI jobs [PR #3917](pgjdbc/pgjdbc#3917)
Fixed
- fix: non-standard strings failing test for version 19 [PR #3934](pgjdbc/pgjdbc#3934)
- fix: small issues in ConnectionFactoryImpl [PR #3929](pgjdbc/pgjdbc#3929)
- fix: process pending responses before fastpath to avoid protocol errors PR # 3913
- doc: use.md, fix typos [PR #3911](pgjdbc/pgjdbc#3911)
- doc: datasource.md, fix minor formatting issue [PR #3912](pgjdbc/pgjdbc#3912)
- doc: add the new PGP signing key to the official documentation [PR #3912](pgjdbc/pgjdbc#3813)
Reverted
- Revert "fix: make all Calendar instances proleptic Gregorian (#3837) (#3887)" [PR #3932](pgjdbc/pgjdbc#3932)
[42.7.9] (2026-01-14)
Added
... (truncated)
Commits
78e261ffix: Add sources and javadocs to shaded published lib generation1e09fa0update Changelog and website for release of 42.7.11 (#4042)d479fa5Fix scram fix location in changelog and update published artifact developer l...b04fc46docs: Add scram max iters fix to changelogcf54822test: Disable scram test on older version without scram_iterations GUC7dbcc79test: Add SCRAM max iteration testsc9d41d1fix: Limit SCRAM PBKDF2 iterations accepted from the servera340cb2style: replace@exceptionwith@throwsin getBoolean javadoc77837f8fix(deps): update dependency org.openrewrite.rewrite:org.openrewrite.rewrite....23af03bchore(deps): update actions/checkout action to v6- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.