org.eclipse.jetty:jetty-servlets@9.2.15.v20160210 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.eclipse.jetty:jetty-servlets package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Denial of Service (DoS)

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

Affected versions of this package are vulnerable to Denial of Service (DoS) via the DosFilter process. An attacker can exhaust the server's memory and cause a denial of service by repeatedly sending crafted requests that trigger OutOfMemory errors.

Note:

This is only exploitable if the server does not have session passivation or an aggressive session inactivation timeout configured.

How to fix Denial of Service (DoS)?

Upgrade org.eclipse.jetty:jetty-servlets to version 9.4.54, 10.0.18, 11.0.18 or higher.

[9.0.0.M0,9.4.54) [10.0.0,10.0.18) [11.0.0,11.0.18)
  • L
Arbitrary Code Execution

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

Affected versions of this package are vulnerable to Arbitrary Code Execution. If a user sends a request to a org.eclipse.jetty.servlets.CGI Servlet for a binary with a space in its name, the servlet will escape the command by wrapping it in quotation marks.

Impact:

This behavior may bypass alias checks, and it may cause other unintended behaviors if a command prefix is configured.

Note:

In Jetty 9.x, 10.x, and 11.x the org.eclipse.jetty.servlets.CGI has been deprecated.

In Jetty 12 (all environments) the org.eclipse.jetty.servlets.CGI has been entirely removed.

How to fix Arbitrary Code Execution?

Upgrade org.eclipse.jetty:jetty-servlets to version 9.4.52, 10.0.16, 11.0.16 or higher.

[9.0.0,9.4.52) [10.0.0,10.0.16) [11.0.0,11.0.16)
  • M
Information Exposure

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.

How to fix Information Exposure?

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

[,9.4.41) [10.0.0,10.0.3) [11.0.0,11.0.3)