Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded postgresql from 42.4.0 to 42.4.1 #3145

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 4, 2022

Bumps postgresql from 42.4.0 to 42.4.1.

Changelog

Sourced from 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.4.1] (2022-08-01 16:24:20 -0400)

Security

  • fix: CVE-2022-31197 Fixes SQL generated in PgResultSet.refresh() to escape column identifiers so as to prevent SQL injection.
    • Previously, the column names for both key and data columns in the table were copied as-is into the generated SQL. This allowed a malicious table with column names that include statement terminator to be parsed and executed as multiple separate commands.
    • Also adds a new test class ResultSetRefreshTest to verify this change.
    • Reported by Sho Kato

Changed

  • chore: skip publishing pgjdbc-osgi-test to Central
  • chore: bump Gradle to 7.5
  • test: update JUnit to 5.8.2

Added

  • chore: added Gradle Wrapper Validation for verifying gradle-wrapper.jar
  • chore: added "permissions: contents: read" for GitHub Actions to avoid unintentional modifications by the CI
  • chore: support building pgjdbc with Java 17

Fixed

Commits
  • bd91c4c Prepare for release (#2580)
  • 739e599 Merge pull request from GHSA-r38f-c4h4-hqq2
  • 736f959 fix: replace syncronization in Connection.close with compareAndSet
  • 4673fd2 feat: synchronize statement executions (e.g. avoid deadlock when Connection.i...
  • fd31a06 update the website content (#2578)
  • a6044d0 set a timeout to get the return from requesting SSL upgrade. (#2572)
  • 58d6fa0 test: bump system-stubs-jupiter to 2.0.1 to support Java 16+
  • b452d8c test: avoid concurrent executions of tests that update environment and system...
  • aa5758a test: update JUnit to 5.8.2
  • 36cd24c fix: log connection URL when it can't be parsed
  • 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 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)

Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.4.0 to 42.4.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](pgjdbc/pgjdbc@REL42.4.0...REL42.4.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from nvoxland as a code owner August 4, 2022 02:28
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 4, 2022
@github-actions
Copy link

github-actions bot commented Aug 4, 2022

Unit Test Results

  4 620 files  ±0    4 620 suites  ±0   35m 31s ⏱️ -49s
  4 611 tests ±0    4 392 ✔️ ±0     219 💤 ±0  0 ±0 
54 504 runs  ±0  49 480 ✔️ ±0  5 024 💤 ±0  0 ±0 

Results for commit e4bdebc. ± Comparison against base commit 4215cf6.

♻️ This comment has been updated with latest results.

@kataggart kataggart added this to To Do in Conditioning++ via automation Aug 4, 2022
@nvoxland nvoxland changed the title Bump postgresql from 42.4.0 to 42.4.1 Upgraded postgresql from 42.4.0 to 42.4.1 Aug 5, 2022
@kataggart kataggart added the CVE label Aug 5, 2022
@nvoxland
Copy link
Contributor

nvoxland commented Aug 5, 2022

Code review and test results:

Things to be aware of:

Things to worry about:

  • Nothing

@nvoxland nvoxland added this to the v4.15.0 milestone Aug 5, 2022
Copy link
Contributor

@XDelphiGrl XDelphiGrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Update Postgres JDBC version to 42.4.1 to address a Synk vulnerability alert.
  • No CVEs reported on Maven Central.
  • No additional testing required.

APPROVED

Maven Central
Passing Test Harness Execution
Passing Functional Tests

@nvoxland nvoxland merged commit 8353475 into master Aug 5, 2022
Conditioning++ automation moved this from To Do to Done Aug 5, 2022
@dependabot dependabot bot deleted the dependabot/maven/org.postgresql-postgresql-42.4.1 branch August 5, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocandidate CVE dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants