Privilege Escalation Affecting org.mortbay.jetty:jetty package, versions [6.0.0Beta1, 7.0.0pre4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (35th 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-ORGMORTBAYJETTY-1021919
  • published23 Oct 2020
  • disclosed23 Oct 2020
  • creditJonathan Leitschuh

Introduced: 23 Oct 2020

CVE-2020-27216  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade org.mortbay.jetty:jetty to version 7.0.0pre4 or higher.

Overview

org.mortbay.jetty:jetty is a web server and servlet engine.

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.

CVSS Scores

version 3.1