QID 980249

QID 980249: Java (maven) Security Update for org.eclipse.jetty:jetty-webapp (GHSA-v7ff-8wcx-gmc5)

Release 9.4.37 introduced a more precise implementation of [RFC3986](https://tools.ietf.org/html/rfc3986#section-3.3) 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.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to refer to GHSA-v7ff-8wcx-gmc5 for updates pertaining to this vulnerability.Workaround:
    The HttpCompliance mode RFC7230_NO_AMBIGUOUS_URIS can be enabled by updating `start.d/http.ini` to include:
    ```
    jetty.http.compliance=RFC7230_NO_AMBIGUOUS_URIS
    ```
    Vendor References

    CVEs related to QID 980249

    Software Advisories
    Advisory ID Software Component Link
    GHSA-v7ff-8wcx-gmc5 org.eclipse.jetty:jetty-webapp URL Logo github.com/advisories/GHSA-v7ff-8wcx-gmc5