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. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.69% (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 IDSNYK-JAVA-ORGECLIPSEJETTY-1300835
  • published9 Jun 2021
  • disclosed9 Jun 2021
  • creditUnknown

Introduced: 9 Jun 2021

CVE-2021-28169  (opens in a new tab)
CWE-200  (opens in a new tab)

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