cve.bz

CVE-2020-27216

7.0 highExploit referenceEPSS 4.4%Fix available

High (7.0). EPSS 4.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.eclipse.jetty:jetty-webapp 10.0.0.beta3, 11.0.0.beta3, 9.4.33.v20201020.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.4% (unchanged from 4.4% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-378 Creation of Temporary File With Insecure Permissions
CWE-379 Creation of Temporary File in Directory with Insecure Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-27216 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-27216?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-27216?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-27216 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
eclipse:jettyfrom 1.0 before 9.3.29
eclipse:jettyfrom 9.4.0 through 9.4.32
eclipse:jetty10.0.0:alpha1
eclipse:jetty10.0.0:beta0
eclipse:jetty10.0.0:beta1
eclipse:jetty10.0.0:beta2
eclipse:jetty11.0.0:alpha1
eclipse:jetty11.0.0:beta1
eclipse:jetty11.0.0:beta2
netapp:vasa_provider7.2 and later
netapp:virtual_storage_console7.2 and later
netapp:storage_replication_adapter7.2 and later
oracle:communications_application_session_controller3.9m0p2
oracle:communications_converged_application_server_-_service_controller6.2
oracle:communications_element_managerfrom 8.2.1 through 8.2.2.1
oracle:communications_offline_mediation_controller12.0.0.3.0
oracle:communications_pricing_design_center12.0.0.3.0
oracle:communications_services_gatekeeper7.0
oracle:flexcube_core_bankingfrom 11.5.0 through 11.9.0
oracle:flexcube_private_banking12.0.0
oracle:flexcube_private_banking12.1.0
oracle:jd_edwards_enterpriseone_toolsbefore 9.2.6.0
oracle:siebel_core_-_automationthrough 21.5
apache:beam2.21.0
apache:beam2.22.0
apache:beam2.23.0
apache:beam2.24.0
apache:beam2.25.0
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g3wg-6mcf-8jj6Mavenorg.eclipse.jetty:jetty-webapp<9.4.33.v202010209.4.33.v20201020
GHSA-g3wg-6mcf-8jj6Mavenorg.mortbay.jetty:jetty-webapp<9.4.339.4.33
GHSA-g3wg-6mcf-8jj6Mavenorg.eclipse.jetty:jetty-webapp>=10.0.0.beta1 <10.0.0.beta310.0.0.beta3
GHSA-g3wg-6mcf-8jj6Mavenorg.mortbay.jetty:jetty-webapp>=10.0.0.beta1 <10.0.0.beta310.0.0.beta3
GHSA-g3wg-6mcf-8jj6Mavenorg.eclipse.jetty:jetty-webapp>=11.0.0.beta1 <11.0.0.beta311.0.0.beta3
GHSA-g3wg-6mcf-8jj6Mavenorg.mortbay.jetty:jetty-webapp>=11.0.0.beta1 <11.0.0.beta311.0.0.beta3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9jetty99.2.30-0+deb9u1DLA-2661-1
Debian10jetty99.4.16-0+deb10u1DSA-4949-1
Debian12, 13, 14jetty99.4.33-1DEBIAN-CVE-2020-27216
Ubuntu14.04:LTSjetty, jetty8no fix listedUBUNTU-CVE-2020-27216
Ubuntu16.04:LTSjetty, jetty8, jetty9no fix listedUBUNTU-CVE-2020-27216
Ubuntu18.04:LTS, 20.04:LTSjetty9no fix listedUBUNTU-CVE-2020-27216
Red Hatdevtools:2020rh-eclipse, rh-eclipse-runtime, rh-eclipse-scldevel1:4.17-6.el7_9RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-ant, rh-eclipse-ant-xz, rh-eclipse-ant-jmf and 21 more0:1.10.9-1.2.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-antlr32, rh-eclipse-antlr32-java, rh-eclipse-antlr32-tool and 2 more0:3.2-28.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-apache-sshd, rh-eclipse-apache-sshd-javadoc1:2.4.0-5.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-apiguardian, rh-eclipse-felix-gogo-shell, rh-eclipse-apiguardian-javadoc and 1 more0:1.1.0-6.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-args4j, rh-eclipse-args4j-parent, rh-eclipse-args4j-javadoc0:2.33-12.2.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-batik, rh-eclipse-batik-css, rh-eclipse-batik-demo and 7 more0:1.13-1.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-bouncycastle, rh-eclipse-bouncycastle-pg, rh-eclipse-bouncycastle-tls and 3 more0:1.67-1.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-cbi-plugins, rh-eclipse-cbi-plugins-javadoc0:1.1.7-8.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-decentxml, rh-eclipse-decentxml-javadoc0:1.4-24.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-ecj1:4.17-1.1.el7RHSA-2020:5168
Red Hatdevtools:2020rh-eclipse-eclipse, rh-eclipse-eclipse-jdt, rh-eclipse-eclipse-pde and 6 more1:4.17-2.2.el7_9RHSA-2020:5168
60 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Container Platform (OCP), the Hive/Presto/Hadoop components that comprise the OCP Metering stack, ship the vulnerable version of jetty.

Since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected components are marked as wontfix.

This may be fixed in the future.

[1] https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-release-notes.html#ocp-4-6-metering-operator-deprecated

Red Hat's mitigation

Jetty users should create temp folders outside the normal /tmp structure, and ensure that their permissions are set so as not to be accessible by an attacker.

ProductPackageStateAdvisory
Red Hat AMQFixed 2020-12-08RHSA-2020:5365
Red Hat AMQ LTS 7.4.6jettyFixed 2021-02-02RHSA-2021:0329
Red Hat Developer Toolsrh-eclipse-1:4.17-6.el7_9Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-ant-0:1.10.9-1.2.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-antlr32-0:3.2-28.1.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-apache-sshd-1:2.4.0-5.1.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-apiguardian-0:1.1.0-6.1.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-args4j-0:2.33-12.2.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-batik-0:1.13-1.1.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Developer Toolsrh-eclipse-bouncycastle-0:1.67-1.1.el7Fixed 2020-11-23RHSA-2020:5168
Red Hat Decision Manager 7jettyNot affected
Red Hat Enterprise Linux 6jetty-eclipseOut of support scope
Red Hat Enterprise Linux 7jettyWill not fix
Red Hat Enterprise Linux 8jettyWill not fix
Red Hat JBoss A-MQ 6jettyOut of support scope
Red Hat JBoss Fuse 6jettyOut of support scope
Red Hat JBoss Fuse Service Works 6jettyOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hadoopWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-metering-hiveWill not fix
Red Hat Process Automation 7jettyNot affected
78 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-27216.

References

Check your stackJSON