Skip to content

chore: upgrade Jetty from 11.0.26 to 12.1.9 (ee10)#147

Merged
Deepanshu0703 merged 3 commits into
mainfrom
jetty-migration
May 15, 2026
Merged

chore: upgrade Jetty from 11.0.26 to 12.1.9 (ee10)#147
Deepanshu0703 merged 3 commits into
mainfrom
jetty-migration

Conversation

@sidharth-jain23
Copy link
Copy Markdown
Collaborator

Migrate from Jetty 11 to Jetty 12.1.9 using ee10 servlet compatibility layer:

  • Update hypertrace-bom catalog version to 0.3.79 (includes Jetty 12.1.9)
  • Update jakarta-servlet-api from 6.0.0 to 6.1.0
  • Update servlet imports from o.e.j.servlet.* to o.e.j.ee10.servlet.*
  • Update servlets imports from o.e.j.servlets.* to o.e.j.ee10.servlets.*
  • Fix setVirtualHosts(String[]) to setVirtualHosts(List)
  • Remove setShowServlet(false) (method removed in 12.1.x, behavior is now default)
  • Change ErrorHandler variable type to ErrorHandler from ee10 package
  • Regenerate all gradle lock files

Migrate from Jetty 11 to Jetty 12.1.9 using ee10 servlet compatibility layer:
- Update hypertrace-bom catalog version to 0.3.79 (includes Jetty 12.1.9)
- Update jakarta-servlet-api from 6.0.0 to 6.1.0
- Update servlet imports from o.e.j.servlet.* to o.e.j.ee10.servlet.*
- Update servlets imports from o.e.j.servlets.* to o.e.j.ee10.servlets.*
- Fix setVirtualHosts(String[]) to setVirtualHosts(List<String>)
- Remove setShowServlet(false) (method removed in 12.1.x, behavior is now default)
- Change ErrorHandler variable type to ErrorHandler from ee10 package
- Regenerate all gradle lock files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sidharth-jain23 sidharth-jain23 requested a review from a team as a code owner May 15, 2026 13:17
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 15, 2026

Test Results

32 tests  ±0   32 ✅ ±0   19s ⏱️ +2s
 9 suites ±0    0 💤 ±0 
 9 files   ±0    0 ❌ ±0 

Results for commit b0723c5. ± Comparison against base commit 797ebd9.

♻️ This comment has been updated with latest results.

CVE-2026-42154 (CVSS 7.5) is a DoS vulnerability in the Prometheus
server's /api/v1/read remote read endpoint (Go binary, fixed in
v3.5.3 and v3.11.3). OWASP dependency-check incorrectly matches
io.prometheus:simpleclient* Java jars against the same CPE
(cpe:2.3:a:prometheus:prometheus) due to the shared "prometheus" name.

The Java simpleclient library is a metrics instrumentation library
and does not contain the affected remote read endpoint. This is a
confirmed false positive per NVD (https://nvd.nist.gov/vuln/detail/CVE-2026-42154)
which lists only the prometheus/prometheus Go server as affected.

References:
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-42154
- Fix PRs: prometheus/prometheus#18584, prometheus/prometheus#18585
- Advisory: GHSA-8rm2-7qqf-34qm

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread owasp-suppressions.xml Outdated
@Deepanshu0703 Deepanshu0703 merged commit e2fcd2f into main May 15, 2026
6 of 8 checks passed
@Deepanshu0703 Deepanshu0703 deleted the jetty-migration branch May 15, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants