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)
Threat Intelligence
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
Introduced: 9 Jun 2021
CVE-2021-28169 Open this link in a new tabHow 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.