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?
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
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
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
mvn versions:use-dep-version -Dincludes=org.eclipse.jetty:jetty-http -DdepVersion=11.0.10 -DforceVersion=trueDetails
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
References
- Linkgithub.com/eclipse/jetty.project/security/advisories/GHSA-cj7v-27pg-wf7q
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-2047
- Packagegithub.com/eclipse/jetty.project
- Linklists.debian.org/debian-lts-announce/2022/08/msg00011.html
- Linksecurity.netapp.com/advisory/ntap-20220901-0006
- Linkwww.debian.org/security/2022/dsa-5198
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.