Skip to content

fix(security): bump backend deps to clear Snyk high/critical findings - #30051

Merged
yan-3005 merged 6 commits into
mainfrom
security/backend-dep-vulns-fix
Jul 15, 2026
Merged

yan-3005 merged 6 commits into
mainfrom
security/backend-dep-vulns-fix

Conversation

@yan-3005

@yan-3005 yan-3005 commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Backend dependency version bumps to clear every high/critical finding flagged in the 2026-07-13 Snyk server-dep-scan: https://github.com/open-metadata/OpenMetadata/actions/runs/29215928950

Fixed vulnerabilities

pkg from → to Snyk advisory
ch.qos.logback:logback-core / -classic 1.5.25 → 1.5.36 SNYK-JAVA-CHQOSLOGBACK-17675439
com.fasterxml.jackson.core:jackson-databind 2.18.8 → 2.18.9 SNYK-JAVA-COMFASTERXMLJACKSONCORE-17457695 (CVE-2026-54515)
tools.jackson.core:jackson-databind 3.1.3 → 3.1.4 SNYK-JAVA-TOOLSJACKSONCORE-17440365 / 17440597
org.apache.httpcomponents.core5:httpcore5-h2 5.3.5 → 5.4.3 17817217 / 17817218 + HPackDecoder DoS in 5.4.2
org.eclipse.parsson:parsson 1.1.5 / 1.1.7 → 1.1.8 SNYK-JAVA-ORGECLIPSEPARSSON-17817925
org.postgresql:postgresql 42.7.11 → 42.7.12 SNYK-JAVA-ORGPOSTGRESQL-17874248
com.mchange:mchange-commons-java (pinned) 0.4.0 → 0.6.1 SNYK-JAVA-COMMCHANGE-17796416
com.nimbusds:oauth2-oidc-sdk (pinned in java-client) → transitively pulls nimbus-jose-jwt 11.18 → 11.38.1 (→ nimbus 10.9) GHSA-xwmg-2g98-w7v9
org.apache.calcite:calcite-core 1.36.0 → 1.42.0 GHSA-c2rv-hwqm-wjpg

Notes

  • openmetadata-service/pom.xml had its own logback-*.version properties at 1.5.25 that shadowed the root pom value — bumped both in lockstep.
  • mchange-commons-java 0.6.1 matches what c3p0 0.14.1 depends on; forces the fixed line without a c3p0 major bump.
  • openmetadata-java-client was pulling nimbus-jose-jwt 9.40 transitively via msal4j 1.17.2 → oauth2-oidc-sdk 11.18. Rather than excluding nimbus and forcing 10.0.2 under an sdk built for the 9.x API line, bumped oauth2-oidc-sdk to 11.38.1 (latest 11.x, same major msal4j needs) which natively targets nimbus-jose-jwt 10.9. Both artifacts stay on API-compatible versions.
  • Calcite bump verified: only two OM files call into calcite (SqlToSparqlTranslator, SparqlBuilder) and they use the stable SQL-parser surface (SqlParser / SqlNode / SqlStdOperatorTable / SqlVisitor); the full backend reactor build passes.

Snyk clean at pinned versions

Each pinned version checked directly against Snyk's package advisory pages — all return "No direct vulnerabilities":

Full transitive tree also checked via OSV.dev batch across every resolved backend jar (1280 unique artifacts, 3-module aggregate) — zero high/critical residuals.

Test plan

  • mvn install -DskipTests succeeds for the backend reactor (!openmetadata-ui)
  • mvn dependency:tree confirms every override resolves to the pinned line
  • Every pinned version returns Snyk "No direct vulnerabilities"
  • CI green
  • Snyk re-scan clean

🤖 Generated with Claude Code

Greptile Summary

This PR bumps backend dependencies to patched versions for reported vulnerability fixes. The main changes are:

  • Updated Logback, Jackson, httpcore5-h2, Parsson, PostgreSQL, Nimbus OIDC SDK, and Calcite versions.
  • Aligned the service c3p0 dependency with the mchange commons line it uses.
  • Kept service-local Logback properties in sync with the root Maven properties.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
openmetadata-clients/openmetadata-java-client/pom.xml Adds a direct oauth2-oidc-sdk version bump for the Java client dependency graph.
openmetadata-service/pom.xml Updates service-local dependency versions, including c3p0 alignment for Quartz-backed scheduling.
pom.xml Updates root-managed backend dependency versions used across modules.
openmetadata-sdk/pom.xml Updates the optional Parsson dependency.
openmetadata-integration-tests/pom.xml Updates the test-scoped Parsson dependency.

Reviews (4): Last reviewed commit: "Merge branch 'main' into security/backen..." | Re-trigger Greptile

Context used (3)

  • Context used - CLAUDE.md (source)
  • Context used - openmetadata-ui-core-components/CLAUDE.md (source)
  • Context used - AGENTS.md (source)

Backend dependency version bumps to clear every high/critical finding
flagged in the 2026-07-13 Snyk server-dep-scan.

Fixed vulnerabilities:
- ch.qos.logback:logback-core / -classic 1.5.25 -> 1.5.36
  SNYK-JAVA-CHQOSLOGBACK-17675439 (Expression Injection)
- tools.jackson.core:jackson-databind 3.1.3 -> 3.1.4
  SNYK-JAVA-TOOLSJACKSONCORE-17440365 (Incomplete List of Disallowed Inputs)
  SNYK-JAVA-TOOLSJACKSONCORE-17440597 (Deserialization of Untrusted Data)
- org.apache.httpcomponents.core5:httpcore5-h2 5.3.5 -> 5.4.2
  SNYK-JAVA-ORGAPACHEHTTPCOMPONENTSCORE5-17817217 / 17817218 (HTTP/2 DoS)
- org.eclipse.parsson:parsson 1.1.5 / 1.1.7 -> 1.1.8
  SNYK-JAVA-ORGECLIPSEPARSSON-17817925
- org.postgresql:postgresql 42.7.11 -> 42.7.12
  SNYK-JAVA-ORGPOSTGRESQL-17874248
- com.mchange:mchange-commons-java 0.4.0 -> 0.6.1 (pinned; c3p0 0.12.0 pulls 0.4.0)
  SNYK-JAVA-COMMCHANGE-17796416
- com.nimbusds:nimbus-jose-jwt 9.40 -> 10.0.2 (excluded from msal4j; restated)
  GHSA-xwmg-2g98-w7v9 (DoS via deeply nested JSON)

openmetadata-service/pom.xml already pinned nimbus-jose-jwt 10.0.2, but
that dep-management does not reach openmetadata-java-client (sibling
module, not a child). Excluded the transitive 9.40 from msal4j and
restated the patched line locally.

openmetadata-service/pom.xml still had its own logback-*.version
properties at 1.5.25 that shadowed the root pom value; bumped both
in lockstep to keep resolution consistent.

Verified: mvn install -DskipTests succeeds; OSV.dev batch across the
full backend tree returns zero high/critical residuals.
Copilot AI review requested due to automatic review settings July 14, 2026 15:27
@yan-3005 yan-3005 added the safe to test Add this label to run secure Github workflows on PRs label Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@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.

Comment thread pom.xml Resolved
…trim comments

- jackson 2.18.8 -> 2.18.9 fixes CVE-2026-54515 per Snyk
  (advisory range [2.8.0.rc1, 2.18.9) — 2.18.8 was still vulnerable).
- httpcore5-h2 5.4.2 -> 5.4.3 fixes HPackDecoder DoS
  (Snyk range [, 5.4.3) meaning 5.4.2 was still vulnerable).
- calcite-core 1.36.0 -> 1.42.0 fixes GHSA-c2rv-hwqm-wjpg.
  Only two OM files call into calcite (SqlToSparqlTranslator,
  SparqlBuilder) and they use the stable SQL-parser surface
  (SqlParser / SqlNode / SqlStdOperatorTable / SqlVisitor);
  full backend reactor build succeeds.
- Dropped chatty per-dep CVE comments; refs stay in this commit
  and the PR description.
Copilot AI review requested due to automatic review settings July 14, 2026 16:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

…s exclusion

Cleaner than excluding nimbus-jose-jwt from msal4j and restating 10.0.2 on top of
oauth2-oidc-sdk 11.18 (which was built against the nimbus 9.x API line, risking
NoSuchMethodError at runtime in the Azure MSAL auth path).

oauth2-oidc-sdk 11.38.1 (latest 11.x) natively targets nimbus-jose-jwt 10.9, so
this keeps both artifacts on API-compatible versions. Resolved nimbus is 10.9,
which is Snyk-clean and above the CVE-2026-* fixed line (10.0.2+).

Addresses gitar-bot code-review finding on #30051.
Copilot AI review requested due to automatic review settings July 14, 2026 16:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@yan-3005

Copy link
Copy Markdown
Contributor Author

@gitar-bot valid concern — switched from the nimbus-exclusion + restate approach to bumping oauth2-oidc-sdk from 11.18 → 11.38.1 (latest 11.x, same major msal4j needs). oauth2-oidc-sdk 11.38.1 natively targets nimbus-jose-jwt 10.9, so both artifacts stay on API-compatible versions instead of forcing a cross-major swap. Resolved via mvn dependency:tree — nimbus resolves to 10.9 (Snyk-clean, above the CVE-fixed line).

Copilot AI review requested due to automatic review settings July 14, 2026 16:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

TeddyCr
TeddyCr previously approved these changes Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

🟡 Playwright Results — all passed (29 flaky)

✅ 4525 passed · ❌ 0 failed · 🟡 29 flaky · ⏭️ 96 skipped

Shard Passed Failed Flaky Skipped
🟡 Shard 1 424 0 3 16
✅ Shard 2 11 0 0 0
🟡 Shard 3 821 0 10 9
🟡 Shard 4 820 0 2 18
🟡 Shard 5 836 0 3 5
🟡 Shard 6 786 0 2 46
🟡 Shard 7 827 0 9 2
🟡 29 flaky test(s) (passed on retry)
  • Flow/TestConnectionModal.spec.ts › modal opens with gate card and capability checks sections (shard 1, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab IS visible for supported type: metric (shard 1, 1 retry)
  • Flow/SearchRBAC.spec.ts › a fully denied user sees neither asset type when browsing (shard 1, 1 retry)
  • Features/BulkImportWithDotInName.spec.ts › CSV with quoted FQN loads correctly in import grid (shard 3, 1 retry)
  • Features/BulkImportWithDotInName.spec.ts › Column with dot in name under service with dot (shard 3, 1 retry)
  • Features/ContextCenterArchivePage.spec.ts › archive page lazy-loads more rows on scroll within its own scroll container (shard 3, 1 retry)
  • Features/ContextCenterArticles.spec.ts › Article listing search filters, clears, and shows empty state (shard 3, 1 retry)
  • Features/ContextCenterArticles.spec.ts › Article list cards, recently viewed widget, and pagination work (shard 3, 1 retry)
  • Features/ContextCenterMemories.spec.ts › clicking a memory row adds ?memory= param to the URL (shard 3, 1 retry)
  • Features/ContextCenterMemories.spec.ts › adding a linked asset in edit mode shows entity badge on the row (shard 3, 1 retry)
  • Features/ContextCenterPermission.spec.ts › user with deleteAll permission can see delete action but not restore action on an archived document, and can delete it (shard 3, 1 retry)
  • Features/DataQuality/BundleSuiteBulkOperations.spec.ts › Add test case to existing Bundle Suite (shard 3, 2 retries)
  • Features/Glossary/GlossaryAdvancedOperations.spec.ts › should change domain on glossary (shard 3, 1 retry)
  • Features/Glossary/GlossaryTermRelationsGraphNested.spec.ts › viewing a child term: parent appears as a 1-hop neighbour via parentOf edge (shard 4, 1 retry)
  • Features/SearchExport.spec.ts › Export queues a background job and downloads from the jobs tray (shard 4, 1 retry)
  • Pages/CustomProperties.spec.ts › Date (shard 5, 1 retry)
  • Pages/CustomProperties.spec.ts › Number (shard 5, 1 retry)
  • Pages/DataContractsSemanticRules.spec.ts › Validate Description Rule Is_Set (shard 5, 1 retry)
  • Pages/DomainAdvanced.spec.ts › Domain version history shows changes (shard 6, 1 retry)
  • Pages/ExplorePageRightPanel_KnowledgeCenter.spec.ts › Should remove user owner for knowledgeCenter (shard 6, 1 retry)
  • Pages/ExplorePageRightPanel.spec.ts › Should allow Data Steward to edit glossary terms for dashboardDataModel (shard 7, 1 retry)
  • Pages/ExplorePageRightPanel.spec.ts › Should allow Data Steward to edit glossary terms for searchIndex (shard 7, 1 retry)
  • Pages/GlossaryImportExport.spec.ts › Import validation - missing required fields (shard 7, 1 retry)
  • Pages/GlossaryImportExport.spec.ts › Import partial success - some terms pass, some fail (shard 7, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify Impact Analysis service filter selection (shard 7, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab is NOT visible for pipelineService in platform lineage (shard 7, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab is NOT visible for apiService in platform lineage (shard 7, 1 retry)
  • Pages/ServiceEntity.spec.ts › Tier Add, Update and Remove (shard 7, 1 retry)
  • Pages/TestSuite.spec.ts › Logical TestSuite (shard 7, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

…nge 0.6.1)

Addresses greptile-bot review on #30051. Bumping c3p0 keeps it API-aligned
with the mchange-commons-java line it was compiled against, instead of
forcing a newer commons jar under the old c3p0 (Quartz scheduler startup
loads c3p0 against mchange and would hit a runtime API mismatch).

c3p0 0.14.1 natively depends on mchange-commons-java 0.6.1, so the root
pom depMgmt override for mchange-commons-java is redundant now — dropped.
Copilot AI review requested due to automatic review settings July 15, 2026 05:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings July 15, 2026 05:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

@yan-3005

Copy link
Copy Markdown
Contributor Author

@yan-3005
yan-3005 merged commit 83599ae into main Jul 15, 2026
80 of 86 checks passed
@yan-3005
yan-3005 deleted the security/backend-dep-vulns-fix branch July 15, 2026 10:42
@gitar-bot

gitar-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 1 resolved / 1 findings

Bumps various backend dependencies to resolve high and critical Snyk security findings. Addresses potential MSAL auth regressions by upgrading to a natively compatible oauth2-oidc-sdk version.

✅ 1 resolved
✅ Bug: Forcing nimbus-jose-jwt 10.0.2 under oauth2-oidc-sdk 11.18 may break MSAL auth

📄 openmetadata-clients/openmetadata-java-client/pom.xml:87-101
msal4j 1.17.2 pulls oauth2-oidc-sdk 11.18, which is built against the nimbus-jose-jwt 9.x API line; excluding nimbus and restating 10.0.2 (a major-version jump with breaking API removals) can surface NoSuchMethodError/NoClassDefFoundError at runtime in the Azure MSAL auth path rather than at compile time. Verify at runtime (or bump oauth2-oidc-sdk to a version that targets nimbus 10.x) that the java-client's MSAL/OIDC flows still resolve — note this mirrors the pattern already used in openmetadata-service, so it may already be validated there.

Options

Display: compact → Showing less information.

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

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

sonika-shah added a commit that referenced this pull request Aug 17, 2026
Backport 5 dependency version bumps already on main but missing from 1.13.
These artifacts are declared in OpenMetadata's own poms, so 1.13 shipped
them at vulnerable versions.

- CVE-2026-9563 (HIGH):  parsson                1.1.5  -> 1.1.8   (main #30051)
- CVE-2026-59889 (HIGH): tools.jackson BOM      3.1.3  -> 3.1.5   (main #30498)
- CVE-2026-41715 (MED):  reactor-netty-http     1.2.16 -> 1.2.18  (main #31257)
- CVE-2026-15687 (MED):  kubernetes client-java 24.0.0 -> 25.0.1  (main #31342)
- CVE-2025-55754 (MED):  tomcat-jdbc/-juli      11.0.5 -> 11.0.11 (main #31258)
@yan-3005 yan-3005 self-assigned this Nov 19, 2026

This branch was previously deployed

1 inactive deployment
test — 809e8fed Deployed Jul 15, 2026 by yan-3005 via playwright-ci-postgresql (3, 7) #56545
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants