LowGHSA-cj7v-27pg-wf7qCVE-2022-2047

Jetty invalid URI parsing may produce invalid HttpURI.authority

Published 7 Jul 2022 · Updated 10 Sept 2026

Is your project on an affected org.eclipse.jetty:jetty-http?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<9.4.47
Fixed in
9.4.47
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.eclipse.jetty:jetty-http -DdepVersion=9.4.47 -DforceVersion=true
Affected
>=10.0.0 <10.0.10
Fixed in
10.0.10
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.eclipse.jetty:jetty-http -DdepVersion=10.0.10 -DforceVersion=true
Affected
>=11.0.0 <11.0.10
Fixed in
11.0.10
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.eclipse.jetty:jetty-http -DdepVersion=11.0.10 -DforceVersion=true

Details

Description

URI use within Jetty's HttpURI class can parse invalid URIs such as http://localhost;/path as having an authority with a host of localhost;.

A URIs of the type http://localhost;/path should be interpreted to be either invalid or as localhost; to be the userinfo and no host. However, HttpURI.host returns localhost; which is definitely wrong.

Impact

This can lead to errors with Jetty's HttpClient, and Jetty's ProxyServlet / AsyncProxyServlet / AsyncMiddleManServlet wrongly interpreting an authority with no host as one with a host.

Patches

Patched in PR #8146 for Jetty version 9.4.47. Patched in PR #8014 for Jetty versions 10.0.10, and 11.0.10

Workarounds

None.

For more information

If you have any questions or comments about this advisory:

  • Email us at security@webtide.com.

Is GHSA-cj7v-27pg-wf7q in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.eclipse.jetty:jetty-http, and gives you the command that fixes it.

More advisories for org.eclipse.jetty:jetty-http

  • HighCVE-2026-2332Jetty has HTTP Request Smuggling via Chunked Extension Quoted-String Parsing · 14 Apr 2026
  • LowCVE-2025-11143org.eclipse.jetty:jetty-http has different parsing of invalid URIs · 5 Mar 2026
  • MediumCVE-2024-6763Eclipse Jetty URI parsing of invalid authority · 14 Oct 2024
  • MediumCVE-2023-40167Jetty accepts "+" prefixed value in Content-Length · 14 Sept 2023
org.eclipse.jetty:jetty-http security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.