{"answers":{"affected":"12 open source packages ship an affected version, including org.eclipse.jetty:jetty-webapp and org.mortbay.jetty:jetty-webapp. It affects 18 products.","exploited":"There is no known exploitation of CVE-2020-27216 in the wild and no public exploit code.","fix":"Upgrade org.eclipse.jetty:jetty-webapp to a fixed version for your release line: 9.4.33.v20201020, 10.0.0.beta3 or 11.0.0.beta3.","what":"CVE-2020-27216 is a high-severity vulnerability in Debian Debian Linux, published on 23 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-27216 and fix it if it is affected.\n\nWhat it is: CVE-2020-27216 is a high-severity vulnerability in Debian Debian Linux, published on 23 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-27216 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.eclipse.jetty:jetty-webapp (Maven): affected all versions; fixed in 9.4.33.v20201020\n- org.eclipse.jetty:jetty-webapp (Maven): affected all versions; fixed in 9.4.33.v20201020\n- org.eclipse.jetty:jetty-webapp (Maven): affected from 10.0.0.beta1; fixed in 10.0.0.beta3\n- org.eclipse.jetty:jetty-webapp (Maven): affected from 10.0.0.beta1; fixed in 10.0.0.beta3\n- org.eclipse.jetty:jetty-webapp (Maven): affected from 11.0.0.beta1; fixed in 11.0.0.beta3\n- org.eclipse.jetty:jetty-webapp (Maven): affected from 11.0.0.beta1; fixed in 11.0.0.beta3\n- org.mortbay.jetty:jetty-webapp (Maven): affected all versions; fixed in 9.4.33\n- org.mortbay.jetty:jetty-webapp (Maven): affected all versions; fixed in 9.4.33\n- org.mortbay.jetty:jetty-webapp (Maven): affected from 10.0.0.beta1; fixed in 10.0.0.beta3\n- org.mortbay.jetty:jetty-webapp (Maven): affected from 10.0.0.beta1; fixed in 10.0.0.beta3\n- org.mortbay.jetty:jetty-webapp (Maven): affected from 11.0.0.beta1; fixed in 11.0.0.beta3\n- org.mortbay.jetty:jetty-webapp (Maven): affected from 11.0.0.beta1; fixed in 11.0.0.beta3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-27216/ (Markdown: https://insights.sbomify.com/CVE-2020-27216/index.md)","id":"CVE-2020-27216","markdown":"https://insights.sbomify.com/CVE-2020-27216/index.md","name":"CVE-2020-27216","record":{"aliases":["CLEANSTART-2026-RM27801","DEBIAN-CVE-2020-27216","GHSA-g3wg-6mcf-8jj6","OESA-2021-1052","RHSA-2020:5168","UBUNTU-CVE-2020-27216"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java web server","requires_auth":"low_privilege","summary":"A local attacker can exploit a race condition in temporary directory creation to gain read/write access to web application files, potentially leading to privilege escalation.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"beam","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"jetty","vendor":"eclipse"},{"product":"snap_creator_framework","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"storage_replication_adapter","vendor":"netapp"},{"product":"vasa_provider","vendor":"netapp"},{"product":"virtual_storage_console","vendor":"netapp"},{"product":"communications_application_session_controller","vendor":"oracle"},{"product":"communications_converged_application_server_-_service_controller","vendor":"oracle"},{"product":"communications_element_manager","vendor":"oracle"},{"product":"communications_offline_mediation_controller","vendor":"oracle"},{"product":"communications_pricing_design_center","vendor":"oracle"},{"product":"communications_services_gatekeeper","vendor":"oracle"},{"product":"flexcube_core_banking","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"jd_edwards_enterpriseone_tools","vendor":"oracle"},{"product":"siebel_core_-_automation","vendor":"oracle"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions"},{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions"}],"description":"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.","ecosystems":["Maven","Red Hat:devtools:2020"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Local Temp Directory Hijacking Vulnerability","id":"CVE-2020-27216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux","eclipse:jetty","netapp:snapcenter","netapp:virtual_storage_console","oracle:communications_element_manager","oracle:flexcube_private_banking","oracle:jd_edwards_enterpriseone_tools"],"type":"race_condition","year":"2020"},"n_packages":249,"n_references":140,"next":{"headline":"Improper Validation of Specified Quantity in Input in Eclipse Hono","id":"CVE-2020-27217"},"packages":[{"ecosystem":"Maven","fixed":["9.4.33.v20201020"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["9.4.33.v20201020"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":"pkg:maven/org.eclipse.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["10.0.0.beta3"],"introduced":["10.0.0.beta1"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["10.0.0.beta3"],"introduced":["10.0.0.beta1"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":"pkg:maven/org.eclipse.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["11.0.0.beta3"],"introduced":["11.0.0.beta1"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["11.0.0.beta3"],"introduced":["11.0.0.beta1"],"last_affected":[],"package":"org.eclipse.jetty:jetty-webapp","purl":"pkg:maven/org.eclipse.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["9.4.33"],"introduced":["0"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["9.4.33"],"introduced":["0"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":"pkg:maven/org.mortbay.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["10.0.0.beta3"],"introduced":["10.0.0.beta1"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["10.0.0.beta3"],"introduced":["10.0.0.beta1"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":"pkg:maven/org.mortbay.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["11.0.0.beta3"],"introduced":["11.0.0.beta1"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":null,"source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Maven","fixed":["11.0.0.beta3"],"introduced":["11.0.0.beta1"],"last_affected":[],"package":"org.mortbay.jetty:jetty-webapp","purl":"pkg:maven/org.mortbay.jetty/jetty-webapp","source":"GHSA-g3wg-6mcf-8jj6"},{"ecosystem":"Red Hat:devtools:2020","fixed":["1:4.17-6.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse","purl":"pkg:rpm/redhat/rh-eclipse","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant","purl":"pkg:rpm/redhat/rh-eclipse-ant","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-antlr","purl":"pkg:rpm/redhat/rh-eclipse-ant-antlr","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-bcel","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-bcel","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-bsf","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-bsf","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-log4j","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-log4j","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-oro","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-oro","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-regexp","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-regexp","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-resolver","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-resolver","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-apache-xalan2","purl":"pkg:rpm/redhat/rh-eclipse-ant-apache-xalan2","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-commons-logging","purl":"pkg:rpm/redhat/rh-eclipse-ant-commons-logging","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-commons-net","purl":"pkg:rpm/redhat/rh-eclipse-ant-commons-net","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-imageio","purl":"pkg:rpm/redhat/rh-eclipse-ant-imageio","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-javadoc","purl":"pkg:rpm/redhat/rh-eclipse-ant-javadoc","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-javamail","purl":"pkg:rpm/redhat/rh-eclipse-ant-javamail","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-jdepend","purl":"pkg:rpm/redhat/rh-eclipse-ant-jdepend","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-jmf","purl":"pkg:rpm/redhat/rh-eclipse-ant-jmf","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-jsch","purl":"pkg:rpm/redhat/rh-eclipse-ant-jsch","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-junit","purl":"pkg:rpm/redhat/rh-eclipse-ant-junit","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-junit5","purl":"pkg:rpm/redhat/rh-eclipse-ant-junit5","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-lib","purl":"pkg:rpm/redhat/rh-eclipse-ant-lib","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-manual","purl":"pkg:rpm/redhat/rh-eclipse-ant-manual","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-swing","purl":"pkg:rpm/redhat/rh-eclipse-ant-swing","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-testutil","purl":"pkg:rpm/redhat/rh-eclipse-ant-testutil","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:1.10.9-1.2.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-ant-xz","purl":"pkg:rpm/redhat/rh-eclipse-ant-xz","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:3.2-28.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-antlr32","purl":"pkg:rpm/redhat/rh-eclipse-antlr32","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:3.2-28.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-antlr32-java","purl":"pkg:rpm/redhat/rh-eclipse-antlr32-java","source":"RHSA-2020:5168"},{"ecosystem":"Red Hat:devtools:2020","fixed":["0:3.2-28.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-eclipse-antlr32-javadoc","purl":"pkg:rpm/redhat/rh-eclipse-antlr32-javadoc","source":"RHSA-2020:5168"}],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2020-27213"},"products":["Eclipse Jetty"],"published":"2020-10-23","related":[{"cvss_score":7.5,"headline":"Improper Certificate Validation in Apache Beam","id":"CVE-2020-1929","kev_date_added":null,"published":"2020-01-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["The Eclipse Foundation"]},"summary":"A local attacker can exploit a race condition in temporary directory creation to gain read/write access to web application files, potentially leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2020-27216/"}