# CVE-2020-27216: Local Temp Directory Hijacking Vulnerability

Source: https://junglewise.ai/threats/cve-2020-27216-local-temp-directory-hijacking-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-11-04  
License: CC BY 4.0 with a link back

CVE-2020-27216 · Severity: low · CVSS 3.1 · Published 2020-11-04

Local Temp Directory Hijacking Vulnerability

Technologies: [org.eclipse.jetty:jetty-webapp (Maven)](https://junglewise.ai/threats/technologies/org-eclipse-jetty-jetty-webapp). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-27216 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-27216 being exploited in the wild.

**How severe is CVE-2020-27216?** Low severity, with a CVSS score of 3.1, published 4 November 2020.

**Which products and versions are affected?** org.eclipse.jetty:jetty-webapp (Maven) ECOSYSTEM:introduced=0,fixed=9.4.33.v20201020; org.mortbay.jetty:jetty-webapp (Maven) ECOSYSTEM:introduced=0,fixed=9.4.33.

**Is there a fix for CVE-2020-27216?** Yes. org.eclipse.jetty:jetty-webapp (Maven): upgrade to 9.4.33.v20201020 or later; org.mortbay.jetty:jetty-webapp (Maven): upgrade to 9.4.33 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-27216?** Check whether you run org.eclipse.jetty:jetty-webapp (Maven) or org.mortbay.jetty:jetty-webapp (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.eclipse.jetty:jetty-webapp (Maven): upgrade to 9.4.33.v20201020 or later

  ```sh
  # set org.eclipse.jetty:jetty-webapp to 9.4.33.v20201020 in your pom.xml or build.gradle
  ```

- org.mortbay.jetty:jetty-webapp (Maven): upgrade to 9.4.33 or later

  ```sh
  # set org.mortbay.jetty:jetty-webapp to 9.4.33 in your pom.xml or build.gradle
  ```


## Affected products

- org.eclipse.jetty:jetty-webapp (Maven) ECOSYSTEM:introduced=0,fixed=9.4.33.v20201020
- org.mortbay.jetty:jetty-webapp (Maven) ECOSYSTEM:introduced=0,fixed=9.4.33

## Identifiers

- CVE-2020-27216
- GHSA-g3wg-6mcf-8jj6

## Related threats

- [Encoded URIs can access WEB-INF directory in Eclipse Jetty](https://junglewise.ai/threats/cve-2021-34429-encoded-uris-can-access-web-inf-directory-in-eclipse-jetty)
- [Authorization Before Parsing and Canonicalization in jetty](https://junglewise.ai/threats/cve-2021-28164-authorization-before-parsing-and-canonicalization-in-jetty)
