5.3medium
Authorization Before Parsing and Canonicalization in jetty
- Severity
- 5.3medium CVSS:3.1 by eclipse
- Exploit likelihood
- 82.4% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- eclipse
- Also known as
- GHSA-v7ff-8wcx-gmc5
Description
In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The Eclipse Foundation Eclipse Jetty | from 9.4.37.v20210219 before unspecified, from unspecified up to 9.4.38.v20210224 | CVE List |
| org.eclipse.jetty:jetty-webapp (Maven) | from 9.4.37 before 9.4.39 | GitHub Advisory Database |
| eclipse jetty | 9.4.37, 9.4.38 | NVD |
| netapp cloud_manager | Not specified | NVD |
| netapp e-series_performance_analyzer | Not specified | NVD |
| netapp e-series_santricity_os_controller | from 11.0 up to 11.70.1 | NVD |
| netapp e-series_santricity_web_services | Not specified | NVD |
| netapp element_plug-in_for_vcenter_server | Not specified | NVD |
| netapp santricity_cloud_connector | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| netapp snapcenter_plug-in | Not specified | NVD |
| netapp storage_replication_adapter_for_clustered_data_ontap | from 9.6 | NVD |
| netapp vasa_provider_for_clustered_data_ontap | from 9.6 | NVD |
| netapp virtual_storage_console | from 9.6 | NVD |
| oracle autovue_for_agile_product_lifecycle_management | 21.0.2 | NVD |
| oracle banking_apis | 20.1, 21.1 | NVD |
| oracle banking_digital_experience | 20.1, 21.1 | NVD |
| oracle communications_session_route_manager | from 8.0.0 up to 8.2.4 | NVD |
| oracle siebel_core_-_automation | up to 21.9 | NVD |
All scores
| eclipse | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, 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.
GitHub Advisory Database
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.
NVD (es)
En Eclipse Jetty versiones 9.4.37.v20210219 hasta 9.4.38.v20210224, el modo de cumplimiento predeterminado permite a unas peticiones con URI que contienen segmentos %2e o %2e%2e acceder a recursos protegidos dentro del directorio WEB-INF. Por ejemplo, una petición a /context/%2e/WEB-INF/web.xml puede recuperar el archivo web.xml. Esto puede divulgar información confidencial sobre la implementación de una aplicación web.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-28164 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v7ff-8wcx-gmc5 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-28164 changed 2026-06-17 | Public domain |