CVE-2025-11143
org.eclipse.jetty:jetty-http has different parsing of invalid URIs
Description
The Jetty URI parser has some key differences compared to other common parsers when evaluating invalid or unusual URIs. Specifically:
Invalid Scheme
| URI | Jetty | uri-js (nodejs) | node-url(nodejs) |
|---|---|---| --- |
| https>://vulndetector.com/path | scheme=http>| scheme=https | invalid URI |
Improper IPv4 mapped IPv6
| URI | Jetty | System.Uri(CSharp) | curl(C) |
|---|---|---| --- |
| http://[0:0:0:0:0:ffff:127.0.0.1] | invalid | host=[::ffff:127.0.0.1] | host=[::ffff:127.0.0.1] |
| http://[::ffff:255.255.0.0] | invalid | host=[::ffff:255.255.0.0] | host=[::ffff:255.255.0.0] |
Incorrect IPv6 delimeter priority
| URI | Jetty | urllib3(python) | furl(python) | Spring | chromium |
|---|---|---| --- |---|---|
| http://[normal.com@]vulndetector.com/ | host=[normal.com@] | invalid | invalid | | |
| http://normal.com[user@vulndetector].com/ | host=[noirmal.com@vulndetector | | | host=normal.com| invalid | |http://normal.com[@]vulndetector.com/ | host=normal.com[@] | | | host=normal.com | invalid |
Incorrect delimeter priority
| URI | Jetty | urllib3(python) | jersey |
|---|---|---| --- |
| http://normal.com/#@vulndetector.com | host=vulndetector.com | host=normal.com | host=normal.com |
| http://normal.com/?@vulndetector.com | host=vulndetector.com | host=normal.com | host=normal.com |
Impact
Differential parsing of URIs in systems using multiple components may result in security by-pass. For example a component that enforces a black list may interpret the URIs differently from one that generates a response. At the very least, differential parsing may divulge implementation details.
Patches
Patched in Supported Open Source versions.
- 12.1.5 - Supported and available on Maven Central
- 12.0.31 - Supported and available on Maven Central
- 11.0.x - EOL Release, patches available on tuxcare and herodevs
- 10.0.x - EOL Release, patches available on tuxcare and herodevs
- 9.4.x - EOL Release, patches available on tuxcare and herodevs
Workarounds
None
Resources
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty » jetty-http | >= 9.4.0, <= 9.4.58>= 10.0.0, <= 10.0.26>= 11.0.0, <= 11.0.26>= 12.0.0, < 12.0.31>= 12.1.0, < 12.1.5 | 12.0.31, 12.1.5 |
Blast radius
66% of the dependent artifacts (10,988) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 32,418 |
| 2 hops | 212,527 |
| 3 hops | 314,756 |
| 4 hops | 289,270 |
| 5 hops | 173,725 |
| 6 hops | 81,356 |
Most used dependents
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.eclipse.jetty » jetty-server4,598 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.eclipse.jetty » jetty-servlet2,979 usages
- org.apache.spark » spark-core2,899 usages
- org.seleniumhq.selenium » selenium-java2,089 usages
- org.eclipse.jetty » jetty-webapp2,060 usages
- com.typesafe.play » play-test1,902 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/jetty/jetty.project/security/advisories/GHSA-wjpw-4j6x-6rwh
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-11143
- Packagehttps://github.com/jetty/jetty.project
- Webhttps://github.com/user-attachments/files/22222625/Java.Eclipse.Jetty.Report_.Incorrect.Parsing.Priority.of.the.IPv6.Hostname.Delimeter.pdf
- Webhttps://github.com/user-attachments/files/22222626/Java.Eclipse.Jetty.Report_.The.Parsing.Priority.of.the.Delimiter.pdf
- Webhttps://github.com/user-attachments/files/22222627/Java.Eclipse.Jetty.Report_.Parsing.Difference.Due.to.Deformed.Scheme.pdf
- Webhttps://github.com/user-attachments/files/22222630/Java.Eclipse.Jetty.Report_.Improper.IPv4-mapped.IPv6.Parsing.pdf
