Jetty invalid URI parsing may produce invalid HttpURI.authority
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.eclipse.jetty:jetty-http | < 9.4.47, >= 10.0.0, < 10.0.10, >= 11.0.0, < 11.0.10 | 9.4.47, 10.0.10, 11.0.10 |
References
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-cj7v-27pg-wf7q
- https://nvd.nist.gov/vuln/detail/CVE-2022-2047
- https://github.com/eclipse/jetty.project
- https://lists.debian.org/debian-lts-announce/2022/08/msg00011.html
- https://security.netapp.com/advisory/ntap-20220901-0006
- https://www.debian.org/security/2022/dsa-5198
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.eclipse.jetty:jetty-http- Disclosed
- 07.07.2022
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cj7v-27pg-wf7q - CC BY 4.0
Vulnerability history: org.eclipse.jetty:jetty-http
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 07.2022 04.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 2
- Low 2
Disclosures per year
- 2022: 1
- 2023: 1
- 2024: 1
- 2025: 0
- 2026: 2
-
Jetty invalid URI parsing may produce invalid HttpURI.authority this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.