Repository navigation
build(deps): bump org.postgresql:postgresql to 42.7.15 (Snyk) - #3389
Merged
Merged
Conversation
Fixes the pgjdbc 42.7.14 SQL injection, TLS and parser advisories that Snyk reports (GHSA-4743-5rfh-f7mp, GHSA-6rxc-3r4p-gpff, GHSA-cww3-qmc2-mjmr, GHSA-j75g-99q3-vr5c, GHSA-3mrw-838h-x9j9, GHSA-36wf-f6m2-v42m and others).
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
org.postgresql:postgresqlfrom 42.7.14 to 42.7.15, the version Snyk recommends for its 8 issues on this dependency (SQL injection, CVSS up to 9.2).42.7.15 is a security release. Among others it fixes:
E''strings (GHSA-4743-5rfh-f7mp)standard_conforming_stringschanges (GHSA-6rxc-3r4p-gpff)search_path(GHSA-j75g-99q3-vr5c)ssl, service and DataSource URL handling that could silently drop TLS checks (GHSA-3mrw-838h-x9j9)Full notes: https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.15
Monolith has no direct postgresql dependency; it gets this version through Semoss.
Behaviour change
When
sslmodeis not set, thesslconnection property now only acceptstrue,falseor empty. Values such asssl=1,ssl=requireorssl=verify-fullnow fail with "Invalid ssl value" instead of silently usingsslmode=prefer. Semoss code does not setssl; a Postgres engine whose connection URL uses one of those values should switch tosslmode=....Testing
mvn validate(enforcer, dependency convergence) passes.dependency:treeshows onlyorg.postgresql:postgresql:42.7.15.mvn compilepasses.