Medium

Authorization Before Parsing and Canonicalization in jetty

  • Disclosed: 06.04.2021
  • Updated: 11.10.2026 12:22

Release 9.4.37 introduced a more precise implementation of RFC3986 with regards to URI decoding, together with some new compliance modes to optionally allow support of some URI that may have ambiguous interpretation within the Servlet specified API methods behaviours. The default mode allowed % encoded . characters to be excluded for URI normalisation, which is correct by the RFC, but is not assumed by common Servlet implementations. The default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. For example a request to /context/%2e/WEB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application. Workarounds found by HttpCompliance mode RFC7230_NO_AMBIGUOUS_URIS can be enabled by updating start.d/http.ini to include: jetty.http.compliance=RFC7230_NO_AMBIGUOUS_URIS.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.eclipse.jetty:jetty-webapp >= 9.4.37, < 9.4.39 9.4.39

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-200, CWE-551, CWE-863
Platform
Java / Kotlin (Maven)
Package
org.eclipse.jetty:jetty-webapp
Disclosed
06.04.2021
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v7ff-8wcx-gmc5 - CC BY 4.0

Vulnerability history: org.eclipse.jetty:jetty-webapp

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
3
First → latest
11.2020 07.2021
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2020: 1
  2. 2021: 2
  3. 2022: 0
  4. 2023: 0
  5. 2024: 0
  6. 2025: 0
  7. 2026: 0
  1. Medium · 5.3 CVE-2021-34429 >= 9.4.37, < 9.4.43, >= 10.0.1, < 10.0.6, >= 11.0.1, < 11.0.6 9.4.43, 10.0.6, 11.0.6
  2. Authorization Before Parsing and Canonicalization in jetty this entry
    Medium · 5.3 CVE-2021-28164 >= 9.4.37, < 9.4.39 9.4.39
  3. High · 7.0 CVE-2020-27216 < 9.4.33.v20201020, >= 10.0.0.beta1, < 10.0.0.beta3, >= 11.0.0.beta1, < 11.0.0.beta3 9.4.33.v20201020, 10.0.0.beta3, 11.0.0.beta3

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.