Repository navigation
fix(security): import jetty-bom for unmanaged jetty modules, bump tools.jackson to 3.1.5 - #30498
Conversation
…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.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
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.
✅ Playwright Results — workflow succeededValidated commit ✅ 536 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky PerformanceBlocking 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:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ Approved 1 resolved / 1 findingsImports 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
OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
Cherry-picked to |
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)
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.versionto 12.1.10 in the root,openmetadata-serviceandopenmetadata-mcppoms. That moved the jetty artifacts declared explicitly with${jetty.version}— but nothing else.Every other jetty module arrives transitively from
dropwizard-core5.0.0, is not underdependencyManagement, and still resolves to its 12.1.1 line. Onmain(17298a5):jetty-security12.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 againstopenmetadata-service,openmetadata-dist,openmetadata-mcpandopenmetadata-k8s-operator.jetty-util12.1.1 is also below the 12.1.9 fix line for CVE-2026-8384.Fix: import
jetty-bomandjetty-ee10-bomat${jetty.version}, so the whole family is managed from the one property instead of artifact by artifact. Futurejetty.versionbumps then cover transitive modules automatically and cannot silently drift back. Same pattern already used fornetty-bomin that block.2. tools.jackson — pin is one patch behind
The
tools.jackson:jackson-bom3.1.4 pin exists to forcejsonschema2pojo-coreoff its transitive 3.0.2 chain. CVE-2026-59889 (incorrect authorization) was published after that pin, so Snyk now reportstools.jackson.core:jackson-databind3.1.4 againstcommon.jsonschema2pojo-coreisscope=provided, so none of this reaches the runtime classpath —dependency:treeonopenmetadata-serviceshows notools.jacksonat all — but Snyk's Maven scanner walks the provided tree, so the pin has to move. Bumped to 3.1.5.Verification
mvn dependency:treeon this branch:org.eclipse.jetty:*across service / dist / mcp / k8s-operatortools.jackson.core:*incommonprovidedtools.jackson.core:*inopenmetadata-serviceBUILD SUCCESSDependency-only change; no source or config touched.
Follow-up to #30391 / #30394.
Greptile Summary
Updates root Maven dependency management to:
${jetty.version}, aligning transitive Jetty modules with the patched version.tools.jacksonBOM 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
Reviews (2): Last reviewed commit: "fix(security): bump tools.jackson BOM to..." | Re-trigger Greptile