Skip to content

fix(security): bump jetty to 12.1.12 - #33265

Closed
karanh37 wants to merge 1 commit into
mainfrom
security/jetty-12.1.12
Closed

karanh37 wants to merge 1 commit into
mainfrom
security/jetty-12.1.12

Conversation

@karanh37

Copy link
Copy Markdown
Contributor

Advisory

Two high-severity Jetty findings from the 2026-09-13 security-scan run (34728735420):

Package Version Advisory Fixed in
org.eclipse.jetty:jetty-http 12.1.10 HTTP Request Smuggling — SNYK-JAVA-ORGECLIPSEJETTY-19644207 (CVE-2026-19203) 12.0.38, 12.1.12
org.eclipse.jetty.websocket:jetty-websocket-core-common 12.1.10 Allocation of Resources Without Limits or Throttling — SNYK-JAVA-ORGECLIPSEJETTYWEBSOCKET-19644206 (CVE-2026-19204) 12.0.38, 12.1.12

Raw scanner finding, from server-dep-scan.json:

PROJECT: org.open-metadata:openmetadata-service | displayTargetFile: openmetadata-service/pom.xml
  HIGH org.eclipse.jetty:jetty-http 12.1.10 | HTTP Request Smuggling | fixedIn: ('12.0.38', '12.1.12')
  HIGH org.eclipse.jetty.websocket:jetty-websocket-core-common 12.1.10 | Allocation of Resources Without Limits or Throttling | fixedIn: ('12.0.38', '12.1.12')
PROJECT: org.open-metadata:openmetadata-mcp | displayTargetFile: openmetadata-mcp/pom.xml
  (same two findings)

Why this is still open after #33015

#33015 already raised the root POM to 12.1.12 — and changed only that one file. openmetadata-service and openmetadata-mcp each redeclare <jetty.version> in their own <properties> block. A property declared in a child POM wins over the inherited one, so those two modules kept resolving 12.1.10. openmetadata-service is the module that actually runs the HTTP server.

This is the "the bump silently does nothing" case, at the Maven-property level rather than the lockfile level.

The change

Deletes the two stale overrides so both modules inherit the root property, rather than restating a version that then has to be remembered separately on every future bump:

  • openmetadata-service/pom.xml:28 — removed <jetty.version>12.1.10</jetty.version>
  • openmetadata-mcp/pom.xml:20 — removed <jetty.version>12.1.10</jetty.version>

No version literal is added; both modules now track root pom.xml:185 (12.1.12).

What I verified

Property resolution, before and after, on both modules:

$ mvn -q -ntp -o -pl openmetadata-service help:evaluate -Dexpression=jetty.version -DforceStdout
12.1.10      # before
12.1.12      # after
$ mvn -q -ntp -o -pl openmetadata-mcp help:evaluate -Dexpression=jetty.version -DforceStdout
12.1.10      # before
12.1.12      # after

The two CVE-affected artifacts actually resolve to the fixed version:

$ mvn -ntp -pl openmetadata-service dependency:tree -Dincludes='org.eclipse.jetty*:jetty-http,org.eclipse.jetty.websocket:jetty-websocket-core-common'
\- org.eclipse.jetty:jetty-http:jar:12.1.12:compile
|     \- org.eclipse.jetty.websocket:jetty-websocket-core-common:jar:12.1.12:compile

Same result for openmetadata-mcp. No version skew is introduced — every org.eclipse.jetty* artifact in both modules is on a single version (12.1.12) after the change.

Build:

$ mvn -ntp -pl openmetadata-service -am -DskipTests install
[INFO] OpenMetadata Service ............................... SUCCESS [05:54 min]
[INFO] BUILD SUCCESS

openmetadata-service (2093 source files) compiles against 12.1.12. The Jetty API surface in use is real — org.eclipse.jetty.server.*, websocket.api.*, http.*, http2.*, ee10.servlet.* across OpenMetadataApplication, Jetty12WebSocketHandler, OMWebBundle, CorsFilterFactory and McpServer — and none of it broke. 12.1.10 → 12.1.12 is a patch bump inside the same minor, and the rest of the reactor has been on 12.1.12 since #33015.

What I did NOT test

  • No tests were run. -DskipTests throughout; no unit, integration, or Playwright run.
  • The server was never started. No runtime verification of HTTP/1.1, HTTP/2, or the WebSocket path. Jetty12WebSocketHandler and the jetty-websocket-core-common change in particular are compile-verified only.
  • openmetadata-mcp was not compiled. Its build needs an openmetadata-service artifact newer than what my local ~/.m2 held; the property and dependency-tree checks above did pass for it.
  • No check of the 1.13 / 2.0 backport branches. fix(security): bump jetty to 12.1.12 #33015 was backported via fix(security): bump jetty to 12.1.12 (1.13 backport) #33025 and fix(security): bump jetty to 12.1.12 (2.0 backport) #33026; whether those branches carry the same module-override gap is unverified.
  • I did not review whether either CVE is actually reachable in OpenMetadata's configuration — this is a version bump to clear the advisory, not an exploitability assessment.

Notes

Opened as a draft by the automated security triage run for 2026-09-14. Needs a human to run CI and decide on the backports.

🤖 Generated with Claude Code

PR #33015 raised the root pom's <jetty.version> to 12.1.12 to clear
CVE-2026-19203 (jetty-http, HTTP Request Smuggling) and CVE-2026-19204
(jetty-websocket-core-common, Allocation of Resources Without Limits).
Both openmetadata-service and openmetadata-mcp redeclare the property in
their own <properties> block, and a child property overrides the inherited
one, so those two modules kept resolving Jetty 12.1.10 and stayed
vulnerable. openmetadata-service is the module that runs the HTTP server.

Delete the two stale overrides so both modules inherit the root property
and track it on future bumps, instead of restating a version that has to
be remembered separately every time.

Verified with mvn help:evaluate (both modules resolve 12.1.12, previously
12.1.10) and mvn dependency:tree (jetty-http and jetty-websocket-core-common
both resolve to 12.1.12; all org.eclipse.jetty artifacts are now on a single
version in both modules).

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Sep 14, 2026
@gitar-bot

gitar-bot Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

Removes stale jetty.version property overrides from openmetadata-service and openmetadata-mcp modules so both inherit the fixed 12.1.12 version from the root POM, resolving HTTP Request Smuggling (CVE-2026-19203) and Resource Allocation (CVE-2026-19204) advisories. Verified property resolution and compile-time compatibility; no issues found.

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

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.

1 participant