CVE-2020-27216
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | jetty9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | jetty9 | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 18.04 | jetty9 | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 16.04 | jetty | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 16.04 | jetty8 | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 16.04 | jetty9 | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 14.04 | jetty | Fix pending | UBUNTU-CVE-2020-27216 | |
| Ubuntu 14.04 | jetty8 | Fix pending | UBUNTU-CVE-2020-27216 | |
| Debian 14 | jetty9 | Fixed | 9.4.33-1 | DEBIAN-CVE-2020-27216 |
| Debian 13 | jetty9 | Fixed | 9.4.33-1 | DEBIAN-CVE-2020-27216 |
| Debian 12 | jetty9 | Fixed | 9.4.33-1 | DEBIAN-CVE-2020-27216 |
| Red Hat Enterprise Linux 8 | jetty-continuation | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-http | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-io | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-security | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-servlet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | jetty-util | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-annotations | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-ant | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-continuation | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-deploy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-http | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-io | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jaas | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jaspi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jmx | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jndi | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jsp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-jspc-maven-plugin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-maven-plugin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-monitor | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-plus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-project | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-proxy | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-rewrite | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-runner | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-security | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-servlet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-servlets | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-start | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-util | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-util-ajax | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-webapp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-client | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-parent | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-server | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-websocket-servlet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | jetty-xml | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | jetty-eclipse | Will not fix Out of support scope | ||
| Maven library | org.eclipse.jetty:jetty-webapp | Fixed | 10.0.0.beta3 | GHSA-g3wg-6mcf-8jj6 |
| Maven library | org.mortbay.jetty:jetty-webapp | Fixed | 11.0.0.beta3 | GHSA-g3wg-6mcf-8jj6 |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Eclipse Foundation Eclipse Jetty: affected: 1.0 to 9.4.32.v20200930, 10.0.0.alpha1 to 10.0.0.beta2, 11.0.0.alpha1 to 11.0.0.beta2
Vendor advisories:
- https://www.debian.org/security/2021/dsa-4949 (vendor-advisory)
References
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=567921
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-g3wg-6mcf-8jj6#advisory-comment-63053
- https://lists.apache.org/thread.html/re08b03cd1754b32f342664eead415af48092c630c8e3e0deba862a26%40%3Ccommits.shiro.apache.org%3E
- https://lists.apache.org/thread.html/r0e9efe032cc65433251ee6470c66c334d4e7db9101e24cf91a3961f2%40%3Ccommits.directory.apache.org%3E
- https://lists.apache.org/thread.html/r5494fdaf4a0a42a15c49841ba7ae577d466d09239ee1050458da0f29%40%3Cjira.kafka.apache.org%3E
- https://lists.apache.org/thread.html/ra55e04d5a73afcb8383f4386e2b26832c6e3972e53827021ab885943%40%3Ccommits.shiro.apache.org%3E
- https://lists.apache.org/thread.html/rd58b60ab2e49ebf21022e59e280feb25899ff785c88f31fe314aa5b9%40%3Ccommits.shiro.apache.org%3E
- https://lists.apache.org/thread.html/r93d5e81e879120d8d87925dbdd4045cb3afa9b066f4370f60b626ce3%40%3Ccommits.druid.apache.org%3E
- https://lists.apache.org/thread.html/r59e0878013d329dcc481eeafebdb0ee445b1e2852d0c4827b1ddaff2%40%3Cissues.beam.apache.org%3E
- https://lists.apache.org/thread.html/raf9c581b793c30ff8f55f2415c7bd337eb69775aae607bf9ed1b16fb%40%3Cdev.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/rafb023a7c61180a1027819678eb2068b0b60cd5c2559cb8490e26c81%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r1ed79516bd6d248ea9f0e704dbfd7de740d5a75b71c7be8699fec824%40%3Cnotifications.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r4f29fb24639ebc5d15fc477656ebc2b3aa00fcfbe197000009c26b40%40%3Cissues.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r568d354961fa88f206dc345411fb11d245c6dc1a8da3e80187fc6706%40%3Cdev.zookeeper.apache.org%3E
- https://lists.apache.org/thread.html/r0df8fe10fc36028cf6d0381ab66510917d0d68bc5ef7042001d03830%40%3Cdev.zookeeper.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.