CVE-2024-6763Jetty URI parsing of invalid authority
Eclipse Jetty is a lightweight, highly scalable, Java-based web server and Servlet engine . It includes a utility class, HttpURI, for URI/URL parsing. The HttpURI class does insufficient validation on the authority segment of a URI. However the behaviour of HttpURI differs from the common browsers in how it handles a URI that would be considered invalid if fully validated against the RRC. Specifically HttpURI and the browser may differ on the value of the host extracted from an invalid URI and thus a combination of Jetty and a vulnerable browser may be vulnerable to a open redirect attack or to a SSRF attack if the URI is used after passing validation checks.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jetty9 | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 22.04 | jetty9 | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 20.04 | jetty9 | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 18.04 | jetty9 | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 16.04 | jetty | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 16.04 | jetty9 | Fix pending | UBUNTU-CVE-2024-6763 | |
| Ubuntu 14.04 | jetty | Fix pending | UBUNTU-CVE-2024-6763 | |
| Debian 14 | jetty9 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2024-6763 | |
| Debian 13 | jetty9 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2024-6763 | |
| Debian 12 | jetty9 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2024-6763 | |
| Maven library | org.eclipse.jetty:jetty-http | Fixed | 12.0.12 | GHSA-qh8g-58pp-2wxh |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Foundation Jetty: affected: 7.0.0 to 12.0.11
Workaround: The attacks outlined above rely on decoded user data being passed to the HttpURI class. Application should not pass decoded user data as an encoded URI to any URI class/method, including HttpURI. Such applications are likely to be vulnerable in other ways. The immediate solution is to upgrade to a version of the class that will fully validate the characters of the URI authority. Ultimately, Jetty will deprecate and remove support for user info in the authority per RFC9110 Section 4.2.4 https://datatracker.ietf.org/doc/html/rfc9110#section-4.2.4 . Note that the Chrome (and other browsers) parse the invalid user info section improperly as well (due to flawed WhatWG URL parsing rules that do not apply outside of a Web Browser).
References
- https://github.com/jetty/jetty.project/security/advisories/GHSA-qh8g-58pp-2wxh
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/25
- https://github.com/jetty/jetty.project/pull/12012
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.