CVEfocus › CVE database › CVE-2024-6763

CVE-2024-6763Jetty URI parsing of invalid authority

CVSS 3.7 LowEPSS 1.0% (higher than 62% of CVEs)Published 2024-10-14Updated 2025-03-07Assigner: eclipse

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.

CWE-1286

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

1Fixed
7Fix pending
3Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jetty9Not affected
vulnerable_code_not_present
Ubuntu 25.10jetty9Not affected
vulnerable_code_not_present
Ubuntu 24.04jetty9Fix pendingUBUNTU-CVE-2024-6763
Ubuntu 22.04jetty9Fix pendingUBUNTU-CVE-2024-6763
Ubuntu 20.04jetty9Fix pendingUBUNTU-CVE-2024-6763
Ubuntu 18.04jetty9Fix pendingUBUNTU-CVE-2024-6763
Ubuntu 16.04jettyFix pendingUBUNTU-CVE-2024-6763
Ubuntu 16.04jetty9Fix pendingUBUNTU-CVE-2024-6763
Ubuntu 14.04jettyFix pendingUBUNTU-CVE-2024-6763
Debian 14jetty9Will 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 13jetty9Will 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 12jetty9Will 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 libraryorg.eclipse.jetty:jetty-httpFixed12.0.12GHSA-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.

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

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.