Privilege Escalation Affecting org.eclipse.jetty:jetty-webapp Open this link in a new tab package, versions [1.0, 9.4.33.v20201020) [10.0.0.alpha1, jetty-10.0.0.beta3) [11.0.0.alpha1, 11.0.0.beta3)

  • Exploit Maturity

    Proof of concept

  • Attack Complexity


  • Confidentiality


  • Integrity


  • Availability


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


  • published

    23 Oct 2020

  • disclosed

    23 Oct 2020

  • credit

    Jonathan Leitschuh

How to fix?

Upgrade org.eclipse.jetty:jetty-webapp to version 9.4.33.v20201020, jetty-10.0.0.beta3, 11.0.0.beta3 or higher.


org.eclipse.jetty:jetty-webapp is a maven plugin for Jetty web application support.

Affected versions of this package are vulnerable to Privilege Escalation. The system's temporary directory is shared between all users on that system. A collocated user can observe the process of creating a temporary sub directory in the shared temporary directory and race to complete the creation of the temporary subdirectory. If the attacker wins the race then they will have read and write permission to the subdirectory used to unpack web applications, including their WEB-INF/lib jar files and JSP files. If any code is ever executed out of this temporary directory, this can lead to a local privilege escalation vulnerability.