[PR #2408] Bump org.postgresql:postgresql from 42.5.2 to 42.5.5 in /server/drivers/postgresql #3298

Closed
opened 2026-03-07 21:13:10 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/dbeaver/cloudbeaver/pull/2408

State: closed
Merged: No


Bumps org.postgresql:postgresql from 42.5.2 to 42.5.5.

Release notes

Sourced from org.postgresql:postgresql's releases.

v42.5.4

What's Changed

Full Changelog: https://github.com/pgjdbc/pgjdbc/compare/REL42.5.3...REL42.5.4

v42.5.3

What's Changed

Full Changelog: https://github.com/pgjdbc/pgjdbc/compare/REL42.5.2...REL42.5.3

Changelog

Sourced from org.postgresql:postgresql's changelog.

Changelog

Notable changes since version 42.0.0, read the complete History of Changes.

The format is based on Keep a Changelog.

[Unreleased]

Changed

Added

Fixed

[42.7.2] (2024-02-21 08:23:00 -0500)

Security

  • security: SQL Injection via line comment generation, it is possible in SimpleQuery mode to generate a line comment by having a placeholder for a numeric with a - such as -?. There must be second placeholder for a string immediately after. Setting the parameter to a -ve value creates a line comment. This has been fixed in this version fixes CVE-2024-1597. Reported by Paul Gerste. See the security advisory for more details. This has been fixed in versions 42.7.2, 42.6.1 42.5.5, 42.4.4, 42.3.9, 42.2.28.jre7. See the security advisory for work arounds.

Changed

Added

[42.7.1] (2023-12-06 08:34:00 -0500)

Changed

  • perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR #3044](pgjdbc/pgjdbc#3044)

Fixed

[42.7.0] (2023-11-20 09:33:00 -0500)

Changed

... (truncated)

Commits
  • 475e3e2 Merge pull request from GHSA-24rp-q3w6-vc56
  • 1b1d6b5 Merge pull request from GHSA-24rp-q3w6-vc56
  • 051ae1b Update docs for Release 42.5.4 (#2812)
  • 3d13b43 fix: fix testGetSQLTypeQueryCache by searching for xid type. We used to searc...
  • 24e9ce3 Make sure that github CI runs tests on all PRs (#2809)
  • 9980a95 Revert "fix: fix testGetSQLTypeQueryCache by searching for xid type. (#2805)"...
  • fad8664 fix: fix testGetSQLTypeQueryCache by searching for xid type. (#2805)
  • 1000ad4 apply doc changes from PR #2743 to release/42.5.x (#2753)
  • 976b27b minor changes (#2752)
  • d2f77a2 update changelog and docs for release (#2751)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.
**Original Pull Request:** https://github.com/dbeaver/cloudbeaver/pull/2408 **State:** closed **Merged:** No --- Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.2 to 42.5.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pgjdbc/pgjdbc/releases">org.postgresql:postgresql's releases</a>.</em></p> <blockquote> <h2>v42.5.4</h2> <h2>What's Changed</h2> <ul> <li>apply doc changes from PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2743">#2743</a> to release/42.5.x by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2753">pgjdbc/pgjdbc#2753</a></li> <li>fix: fix testGetSQLTypeQueryCache by searching for xid type. by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2805">pgjdbc/pgjdbc#2805</a></li> <li>Revert &quot;fix: fix testGetSQLTypeQueryCache by searching for xid type.&quot; by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2807">pgjdbc/pgjdbc#2807</a></li> <li>Make sure that github CI runs tests on all PRs by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2809">pgjdbc/pgjdbc#2809</a></li> <li>fix: fix testGetSQLTypeQueryCache by searching for xid type instead of box. by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2810">pgjdbc/pgjdbc#2810</a></li> <li>Update docs for Release 42.5.4 by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2812">pgjdbc/pgjdbc#2812</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pgjdbc/pgjdbc/compare/REL42.5.3...REL42.5.4">https://github.com/pgjdbc/pgjdbc/compare/REL42.5.3...REL42.5.4</a></p> <h2>v42.5.3</h2> <h2>What's Changed</h2> <ul> <li>Add box to TypeInfoCache, fixes Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2746">#2746</a> by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2747">pgjdbc/pgjdbc#2747</a></li> <li>update changelog and docs for release by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2751">pgjdbc/pgjdbc#2751</a></li> <li>minor changes by <a href="https://github.com/davecramer"><code>@​davecramer</code></a> in <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2752">pgjdbc/pgjdbc#2752</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pgjdbc/pgjdbc/compare/REL42.5.2...REL42.5.3">https://github.com/pgjdbc/pgjdbc/compare/REL42.5.2...REL42.5.3</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md">org.postgresql:postgresql's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>Notable changes since version 42.0.0, read the complete <a href="https://jdbc.postgresql.org/documentation/changelog.html">History of Changes</a>.</p> <p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>.</p> <h2>[Unreleased]</h2> <h3>Changed</h3> <h3>Added</h3> <h3>Fixed</h3> <h2>[42.7.2] (2024-02-21 08:23:00 -0500)</h2> <h3>Security</h3> <ul> <li>security: SQL Injection via line comment generation, it is possible in <code>SimpleQuery</code> mode to generate a line comment by having a placeholder for a numeric with a <code>-</code> such as <code>-?</code>. There must be second placeholder for a string immediately after. Setting the parameter to a -ve value creates a line comment. This has been fixed in this version fixes <a href="https://www.cve.org/CVERecord?id=CVE-2024-1597">CVE-2024-1597</a>. Reported by <a href="https://github.com/paul-gerste-sonarsource">Paul Gerste</a>. See the <a href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56">security advisory</a> for more details. This has been fixed in versions 42.7.2, 42.6.1 42.5.5, 42.4.4, 42.3.9, 42.2.28.jre7. See the security advisory for work arounds.</li> </ul> <h3>Changed</h3> <ul> <li>fix: Use simple query for isValid. Using Extended query sends two messages checkConnectionQuery was never ever set or used, removed [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3101">#3101</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3101">pgjdbc/pgjdbc#3101</a>)</li> <li>perf: Avoid autoboxing bind indexes by <a href="https://github.com/bokken"><code>@​bokken</code></a> in [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/1244">#1244</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/1244">pgjdbc/pgjdbc#1244</a>)</li> <li>refactor: Document that encodePassword will zero out the password array, and remove driver's default encodePassword by <a href="https://github.com/vlsi"><code>@​vlsi</code></a> in [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3084">#3084</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3084">pgjdbc/pgjdbc#3084</a>)</li> </ul> <h3>Added</h3> <ul> <li>feat: Add PasswordUtil for encrypting passwords client side [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3082">#3082</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3082">pgjdbc/pgjdbc#3082</a>)</li> </ul> <h2>[42.7.1] (2023-12-06 08:34:00 -0500)</h2> <h3>Changed</h3> <ul> <li>perf: improve performance of PreparedStatement.setBlob, BlobInputStream, and BlobOutputStream with dynamic buffer sizing [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3044">#3044</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3044">pgjdbc/pgjdbc#3044</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>fix: Apply connectTimeout before SSLSocket.startHandshake to avoid infinite wait in case the connection is broken [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3040">#3040</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3040">pgjdbc/pgjdbc#3040</a>)</li> <li>fix: support waffle-jna 2.x and 3.x by using reflective approach for ManagedSecBufferDesc [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2720">#2720</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2720">pgjdbc/pgjdbc#2720</a>) Fixes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2690">#2690</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2720">pgjdbc/pgjdbc#2720</a>).</li> <li>fix: NoSuchMethodError on ByteBuffer#position When Running on Java 8 when accessing arrays, fixes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3014">#3014</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3014">pgjdbc/pgjdbc#3014</a>)</li> <li>Revert &quot;[PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2925">#2925</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2925">pgjdbc/pgjdbc#2925</a>) Use canonical DateStyle name&quot; [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3035">#3035</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3035">pgjdbc/pgjdbc#3035</a>) Fixes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3008">#3008</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3008">pgjdbc/pgjdbc#3008</a>)</li> <li>Revert &quot;[PR #<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2973">#2973</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2973">pgjdbc/pgjdbc#2973</a>) feat: support SET statements combining with other queries with semicolon in PreparedStatement&quot; [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3010">#3010</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3010">pgjdbc/pgjdbc#3010</a>) Fixes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3007">#3007</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/3007">pgjdbc/pgjdbc#3007</a>)</li> <li>fix: avoid timezone conversions when sending LocalDateTime to the database <a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/3010">#2852</a> Fixes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/1390">#1390</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/1390">pgjdbc/pgjdbc#1390</a>) ,[Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2850">#2850</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2850">pgjdbc/pgjdbc#2850</a>) Closes [Issue <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/1391">#1391</a>(https://redirect.github.com/pgjdbc/pgjdbc/issues/1391)</li> </ul> <h2>[42.7.0] (2023-11-20 09:33:00 -0500)</h2> <h3>Changed</h3> <ul> <li>fix: Deprecate for removal PGPoint.setLocation(java.awt.Point) to cut dependency to <code>java.desktop</code> module. [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2967">#2967</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2967">pgjdbc/pgjdbc#2967</a>)</li> <li>feat: return all catalogs for getCatalogs metadata query closes [ISSUE <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2949">#2949</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2949">pgjdbc/pgjdbc#2949</a>) [PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2953">#2953</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2953">pgjdbc/pgjdbc#2953</a>)</li> <li>feat: support SET statements combining with other queries with semicolon in PreparedStatement [PR #<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2973">#2973</a>](<a href="https://redirect.github.com/pgjdbc/pgjdbc/pull/2973">pgjdbc/pgjdbc#2973</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/475e3e2af3033c666fc1c0015159b35455118ae5"><code>475e3e2</code></a> Merge pull request from GHSA-24rp-q3w6-vc56</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/1b1d6b53eca90409af0069d5327d4fdf8d40a255"><code>1b1d6b5</code></a> Merge pull request from GHSA-24rp-q3w6-vc56</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/051ae1b75a08a695ce1f96bcea7ce7ca49f798c9"><code>051ae1b</code></a> Update docs for Release 42.5.4 (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2812">#2812</a>)</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/3d13b43983edac8c37b8633e83e6d3dd8b503edc"><code>3d13b43</code></a> fix: fix testGetSQLTypeQueryCache by searching for xid type. We used to searc...</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/24e9ce3f90545b7804294b20ad79bce4550719f9"><code>24e9ce3</code></a> Make sure that github CI runs tests on all PRs (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2809">#2809</a>)</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/9980a958f0f2e41522ca3b5d0f6205b4cb290052"><code>9980a95</code></a> Revert &quot;fix: fix testGetSQLTypeQueryCache by searching for xid type. (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2805">#2805</a>)&quot;...</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/fad86648965f08c065b02592b516243dc0c6d0a2"><code>fad8664</code></a> fix: fix testGetSQLTypeQueryCache by searching for xid type. (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2805">#2805</a>)</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/1000ad4852375160be8d6eebd6609e15645719b1"><code>1000ad4</code></a> apply doc changes from PR <a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2743">#2743</a> to release/42.5.x (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2753">#2753</a>)</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/976b27b5efce6486cc9d6330561184e875dbde53"><code>976b27b</code></a> minor changes (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2752">#2752</a>)</li> <li><a href="https://github.com/pgjdbc/pgjdbc/commit/d2f77a26815e7994db7ac4d816d29d6d7395418d"><code>d2f77a2</code></a> update changelog and docs for release (<a href="https://redirect.github.com/pgjdbc/pgjdbc/issues/2751">#2751</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pgjdbc/pgjdbc/compare/REL42.5.2...REL42.5.5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.postgresql:postgresql&package-manager=maven&previous-version=42.5.2&new-version=42.5.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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](https://github.com/dbeaver/cloudbeaver/network/alerts). </details>
kerem 2026-03-07 21:13:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#3298
No description provided.