Insecure Temporary File Affecting jetty-start package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

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 Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-JETTYSTART-2011200
  • published26 Jul 2021
  • disclosed22 Oct 2020

Introduced: 22 Oct 2020

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

How to fix?

There is no fixed version for Centos:7 jetty-start.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jetty-start package and not the jetty-start package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

In Eclipse Jetty versions 1.0 thru 9.4.32.v20200930, 10.0.0.alpha1 thru 10.0.0.beta2, and 11.0.0.alpha1 thru 11.0.0.beta2O, on Unix like systems, 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.

References

CVSS Scores

version 3.1