Information Exposure Affecting org.eclipse.jetty:jetty-servlets package, versions [,9.4.41) [10.0.0, 10.0.3) [11.0.0,11.0.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.62% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGECLIPSEJETTY-1300835
  • published 9 Jun 2021
  • disclosed 9 Jun 2021
  • credit Unknown

How to fix?

Upgrade org.eclipse.jetty:jetty-servlets to version 9.4.41, 10.0.3, 11.0.3 or higher.

Overview

org.eclipse.jetty:jetty-servlets is an Utility Servlets from Jetty

Affected versions of this package are vulnerable to Information Exposure. Requests to the ConcatServlet and WelcomeFilter are able to access protected resources within the WEB-INF directory. For example, a request to the ConcatServlet with a URI of /concat?/%2557EB-INF/web.xml can retrieve the web.xml file.

This occurs because both ConcatServlet and WelcomeFilter decode the supplied path to verify it is not within the WEB-INF or META-INF directories. It then uses this decoded path to call RequestDispatcher which will also do decoding of the path. This double decoding allows paths with a doubly encoded WEB-INF to bypass this security check.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

5.3 medium
Expand this section

SUSE

6.5 medium
Expand this section

Red Hat

5.3 medium