Skip to content

fix(security): bump postgresql to 42.7.14 - #35214

Merged
sonika-shah merged 2 commits into
mainfrom
security/postgresql-42.7.14
Oct 12, 2026
Merged

sonika-shah merged 2 commits into
mainfrom
security/postgresql-42.7.14

Conversation

@karanh37

Copy link
Copy Markdown
Contributor

Advisory

  • CVE-2026-107314: SNYK-JAVA-ORGPOSTGRESQL-20571163, high, Not Failing Securely ('Failing Open'), requireAuth not enforced in org.postgresql:postgresql. Fixed in 42.7.14.
  • CVE-2026-107315 is a medium in the same driver (padding leaks earlier statement bytes), with the same fix version. The OSS scan runs at --severity-threshold=high, so it isn't listed below, but this bump clears it as well.

Raw scanner finding

Snyk server-dep-scan, security-scan run 38099669624 on main (artifacts triaged 2026-10-12):

high  org.postgresql:postgresql 42.7.12  fixedIn=["42.7.14"]  Not Failing Securely ('Failing Open')
      openmetadata-dist > openmetadata-service > org.postgresql:[email protected]

Change

Root pom.xml: postgres.connector.version 42.7.12 → 42.7.14. That property is the only place the driver version is set: git grep postgres -- '*pom.xml' shows no child-module override. No other manifest is touched.

What I verified

  • 42.7.14 is the Maven Central <latest>/<release>, so 42.7.12 is genuinely below a real fix. This is a patch release on the same 42.7.x line.
  • mvn -o -pl openmetadata-service dependency:tree -Dincludes=org.postgresql:postgresql on this branch resolves to 42.7.14 (compile scope).

What I did NOT test

  • No mvn compile / mvn verify, no unit or integration tests, and no server boot.
  • No Postgres-backed run. No migrations, no PostgreSQL ITs, and no connection with requireAuth or SSL settings. The driver is used only at runtime through JDBI/Flyway, and nothing here exercised it.
  • No Snyk rescan after the change.

Note for merge

There is no linked issue, so pr-metadata-validation will fail until a maintainer links one in the Shipping project or applies skip-pr-checks.

🤖 Generated with Claude Code

CVE-2026-107314 (requireAuth not enforced, high) and CVE-2026-107315
(medium) are fixed in pgjdbc 42.7.14. The root postgres.connector.version
property is the only place the driver version is set.
@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Oct 12, 2026
@gitar-bot

gitar-bot Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🔴 High risk · Upgrading the PostgreSQL driver to fix requireAuth fail-open behavior affects authentication; incompatible handling could block valid database connections.

Bumps the PostgreSQL JDBC driver from 42.7.12 to 42.7.14 in the root pom.xml to address the high-severity requireAuth fail-open advisory (CVE-2026-107314) and the related medium padding leak (CVE-2026-107315). No issues found during review.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@karanh37 karanh37 closed this Oct 12, 2026
@sonika-shah sonika-shah reopened this Oct 12, 2026
@sonika-shah
sonika-shah marked this pull request as ready for review October 12, 2026 10:03
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@sonika-shah
sonika-shah added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit a35be74 Oct 12, 2026
105 of 127 checks passed
@sonika-shah
sonika-shah deleted the security/postgresql-42.7.14 branch October 12, 2026 16:48
sonika-shah added a commit that referenced this pull request Oct 12, 2026
…#34704, #35245) [2.0 backport] (#35246)

* fix(security): bump postgresql to 42.7.14

CVE-2026-107314 (requireAuth not enforced, high) and CVE-2026-107315
(medium) are fixed in pgjdbc 42.7.14. The root postgres.connector.version
property is the only place the driver version is set.

(cherry picked from commit aa407bc)

* fix(security): bump BouncyCastle to 1.86

Clears CVE-2026-18036 (timing attack) and CVE-2026-71891 (improper
signature verification) in bcprov-jdk18on, both fixed in 1.86.
bcpkix and bcutil move with it to keep the BouncyCastle artifacts aligned.

(cherry picked from commit 7c13bbb)

* fix(security): bump guava to 33.7.2-jre (CVE-2026-102554)

Guava's CompactHashMap/CompactHashSet/MapMakerInternalMap readObject paths
size their storage from the stream's declared element count, so a crafted
serialized stream forces an OutOfMemoryError. Fixed in 33.7.2; minor bump
within the 33.x line.

(cherry picked from commit 95e349b)

---------

Co-authored-by: karanh37 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants