Skip to content

fix(security): import jetty-bom for unmanaged jetty modules, bump tools.jackson to 3.1.5 - #30498

Merged
sonika-shah merged 2 commits into
mainfrom
fix/security-jetty-bom-unmanaged
Jul 27, 2026
Merged

sonika-shah merged 2 commits into
mainfrom
fix/security-jetty-bom-unmanaged

Conversation

@sonika-shah

@sonika-shah sonika-shah commented Jul 27, 2026 •

Copy link
Copy Markdown
Collaborator

Two dependency-management fixes for high findings on the Snyk/Inspector reports. Both are cases where an existing pin no longer covers what it was meant to.


1. jetty — the property bump did not reach transitive modules

#30391 bumped jetty.version to 12.1.10 in the root, openmetadata-service and openmetadata-mcp poms. That moved the jetty artifacts declared explicitly with ${jetty.version} — but nothing else.

Every other jetty module arrives transitively from dropwizard-core 5.0.0, is not under dependencyManagement, and still resolves to its 12.1.1 line. On main (17298a5):

$ mvn dependency:tree -Dincludes='org.eclipse.jetty:*' -pl openmetadata-service

org.eclipse.jetty:jetty-server:jar:12.1.10     <- declared, correct
org.eclipse.jetty:jetty-http:jar:12.1.10       <- declared, correct
org.eclipse.jetty:jetty-security:jar:12.1.1    <- unmanaged
org.eclipse.jetty:jetty-util:jar:12.1.1        <- unmanaged

jetty-security 12.1.1 is the artifact carrying CVE-2026-10050 (digest authentication bypass via lossy ISO-8859-1 encoding) — the CVE #30394 set out to clear. It is still reported against openmetadata-service, openmetadata-dist, openmetadata-mcp and openmetadata-k8s-operator.

jetty-util 12.1.1 is also below the 12.1.9 fix line for CVE-2026-8384.

Fix: import jetty-bom and jetty-ee10-bom at ${jetty.version}, so the whole family is managed from the one property instead of artifact by artifact. Future jetty.version bumps then cover transitive modules automatically and cannot silently drift back. Same pattern already used for netty-bom in that block.

2. tools.jackson — pin is one patch behind

The tools.jackson:jackson-bom 3.1.4 pin exists to force jsonschema2pojo-core off its transitive 3.0.2 chain. CVE-2026-59889 (incorrect authorization) was published after that pin, so Snyk now reports tools.jackson.core:jackson-databind 3.1.4 against common.

jsonschema2pojo-core is scope=provided, so none of this reaches the runtime classpath — dependency:tree on openmetadata-service shows no tools.jackson at all — but Snyk's Maven scanner walks the provided tree, so the pin has to move. Bumped to 3.1.5.


Verification

mvn dependency:tree on this branch:

Check Result
org.eclipse.jetty:* across service / dist / mcp / k8s-operator all 12.1.10, no other version present
tools.jackson.core:* in common 3.1.5, still provided
tools.jackson.core:* in openmetadata-service absent, as before
Build BUILD SUCCESS

Dependency-only change; no source or config touched.

Follow-up to #30391 / #30394.

Greptile Summary

Updates root Maven dependency management to:

  • Import the Jetty and Jetty EE10 BOMs at ${jetty.version}, aligning transitive Jetty modules with the patched version.
  • Upgrade the build-time tools.jackson BOM from 3.1.4 to 3.1.5.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
pom.xml Adds centralized Jetty BOM management and updates the provided-scope Jackson 3 BOM; no actionable failure was identified.

Reviews (2): Last reviewed commit: "fix(security): bump tools.jackson BOM to..." | Re-trigger Greptile

…tty.version

#30391 bumped jetty.version to 12.1.10, but only the jetty artifacts declared
explicitly with ${jetty.version} actually moved. Everything dropwizard-core 5.0.0
pulls in transitively is unmanaged and still resolves to its 12.1.1 line:

  org.eclipse.jetty:jetty-security:jar:12.1.1   <- CVE-2026-10050
  org.eclipse.jetty:jetty-util:jar:12.1.1

Importing jetty-bom (and jetty-ee10-bom) at ${jetty.version} manages the whole
family from the one property, so transitive modules can no longer drift back.

Affected modules: openmetadata-service, openmetadata-dist, openmetadata-mcp,
openmetadata-k8s-operator. After the change every org.eclipse.jetty:* across all
four resolves to 12.1.10.
Copilot AI review requested due to automatic review settings July 27, 2026 07:06

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.

@github-actions github-actions Bot added backend safe to test Add this label to run secure Github workflows on PRs labels Jul 27, 2026
The 3.1.4 pin was added to force jsonschema2pojo-core off its transitive 3.0.2
chain. CVE-2026-59889 (incorrect authorization) landed after that, so the pin is
now a patch behind and Snyk reports jackson-databind 3.1.4 against common.

jsonschema2pojo-core is scope=provided, so this never reaches the runtime
classpath — dependency:tree on openmetadata-service shows no tools.jackson at
all — but Snyk's Maven scanner walks the provided tree, so the pin has to move.
Copilot AI review requested due to automatic review settings July 27, 2026 07:18

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.

@sonika-shah sonika-shah changed the title fix(security): import jetty-bom so transitive jetty modules follow jetty.version fix(security): import jetty-bom for unmanaged jetty modules, bump tools.jackson to 3.1.5 Jul 27, 2026
Comment thread pom.xml Resolved
@github-actions

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit b7d28b280de60772735fca15671a7aeda5fc4bd8 in Playwright run 30245671163, attempt 1.

✅ 536 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 49m 30s

⏱️ Max setup 3m 7s · max shard execution 18m 2s · max shard-job elapsed before upload 21m 10s · reporting 5s

🌐 202.83 requests/attempt · 2.86 app boots/UI scenario · 9.43% common-shard skew

Optimization targets still in progress:

  • Browser traffic was 202.83 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 2.86 per UI scenario (1601 boots / 559 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 143 0 0 3 0 0
🟡 Shard chromium-02 132 0 1 0 0 0
✅ Shard chromium-03 123 0 0 0 0 0
✅ Shard data-asset-rules-01 61 0 0 0 0 0
✅ Shard domain-isolation-01 14 0 0 0 0 0
✅ Shard global-state-01 23 0 0 0 0 0
✅ Shard ingestion-01 1 0 0 0 0 0
✅ Shard reindex-01 2 0 0 0 0 0
✅ Shard search-01 10 0 0 0 0 0
✅ Shard search-rbac-01 27 0 0 2 0 0
🟡 1 flaky test(s) (passed on retry)
  • Pages/Entity.spec.ts › Delete Stored Procedure (shard chromium-02, 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

@sonika-shah
sonika-shah merged commit 57c6257 into main Jul 27, 2026
100 of 105 checks passed
@sonika-shah
sonika-shah deleted the fix/security-jetty-bom-unmanaged branch July 27, 2026 10:20
@gitar-bot

gitar-bot Bot commented Jul 27, 2026

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

Imports jetty-bom and jetty-ee10-bom into root dependency management to align transitive Jetty modules with jetty.version and resolve lingering CVEs. Consider updating the Jackson version comment wording to avoid implying version 3.1.5 introduces the CVE.

✅ 1 resolved
✅ Quality: Comment wording implies 3.1.5 introduces the CVE

📄 pom.xml:800-802
The comment reads "3.1.5 adds CVE-2026-59889", which implies this version introduces the vulnerability, contradicting the commit message ("bump tools.jackson BOM to 3.1.5 for CVE-2026-59889") whose intent is to fix it. Reword to "3.1.5 addresses CVE-2026-59889" (or "fixes") to avoid misleading future maintainers into downgrading.

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

sonika-shah commented Jul 27, 2026 •

Copy link
Copy Markdown
Collaborator Author

Cherry-picked to 2.0 as 9f112ea626.

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)

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 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