Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.eclipse.jetty/jetty-http
  4. ›
  5. CVE-2020-27216

CVE-2020-27216: Creation of Temporary File in Directory with Insecure Permissions

October 23, 2020 (updated December 3, 2021)

In Eclipse Jetty 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

  • bugs.eclipse.org/bugs/show_bug.cgi?id=567921
  • github.com/eclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6
  • nvd.nist.gov/vuln/detail/CVE-2020-27216

Code Behaviors & Features

Detect and mitigate CVE-2020-27216 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0 before 9.4.33.v20201020, all versions starting from 10.0.0.alpha1 before 11.0.0.beta3

Fixed versions

  • 9.4.33.v20201020
  • 10.0.0.beta3
  • 11.0.0.beta3

Solution

Upgrade to versions 9.4.33.v20201020, 11.0.0.beta3 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

maven/org.eclipse.jetty/jetty-http/CVE-2020-27216.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.