{"answers":{"affected":"1 open source package ship an affected version, including tomcat. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-8022 in the wild and no public exploit code.","fix":"Upgrade tomcat to 9.0.35-3.57.3 or later.","what":"CVE-2020-8022 is a high-severity vulnerability in Apache Tomcat, published on 29 Jun 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-8022 and fix it if it is affected.\n\nWhat it is: CVE-2020-8022 is a high-severity vulnerability in Apache Tomcat, published on 29 Jun 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-8022 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tomcat (Bitnami): affected all versions; fixed in 9.0.35-3.57.3\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-8022/ (Markdown: https://insights.sbomify.com/CVE-2020-8022/index.md)","id":"CVE-2020-8022","markdown":"https://insights.sbomify.com/CVE-2020-8022/index.md","name":"CVE-2020-8022","record":{"aliases":["BIT-tomcat-2020-8022","SUSE-SU-2020:1788-1","SUSE-SU-2020:1789-1","SUSE-SU-2020:1790-1","SUSE-SU-2020:1791-1","openSUSE-SU-2020:0911-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Tomcat server","requires_auth":"none","summary":"Local attackers can escalate privileges from tomcat group to root due to incorrect default permissions on a configuration file.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[{"product":"tomcat","vendor":"apache"},{"product":"leap","vendor":"opensuse"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"A Incorrect Default Permissions vulnerability in the packaging of tomcat on SUSE Enterprise Storage 5, SUSE Linux Enterprise Server 12-SP2-BCL, SUSE Linux Enterprise Server 12-SP2-LTSS, SUSE Linux Enterprise Server 12-SP3-BCL, SUSE Linux Enterprise Server 12-SP3-LTSS, SUSE Linux Enterprise Server 12-SP4, SUSE Linux Enterprise Server 12-SP5, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server for SAP 12-SP2, SUSE Linux Enterprise Server for SAP 12-SP3, SUSE Linux Enterprise Server for SAP 15, SUSE OpenStack Cloud 7, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 allows local attackers to escalate from group tomcat to root. This issue affects: SUSE Enterprise Storage 5 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP2-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-BCL tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP3-LTSS tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server 12-SP4 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 12-SP5 tomcat versions prior to 9.0.35-3.39.1. SUSE Linux Enterprise Server 15-LTSS tomcat versions prior to 9.0.35-3.57.3. SUSE Linux Enterprise Server for SAP 12-SP2 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 12-SP3 tomcat versions prior to 8.0.53-29.32.1. SUSE Linux Enterprise Server for SAP 15 tomcat versions prior to 9.0.35-3.57.3. SUSE OpenStack Cloud 7 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud 8 tomcat versions prior to 8.0.53-29.32.1. SUSE OpenStack Cloud Crowbar 8 tomcat versions prior to 8.0.53-29.32.1.","ecosystems":["Bitnami","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Web and Scripting 15 SP1","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.1"],"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":"User-writeable configuration file /usr/lib/tmpfiles.d/tomcat.conf allows for escalation of priviliges","id":"CVE-2020-8022","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:tomcat","products":["apache:tomcat","opensuse:leap"],"type":"privilege_escalation","year":"2020"},"n_packages":22,"n_references":6,"next":{"headline":"Local privilege escalation from ldap to root when using OPENLDAP_CONFIG_BACKEND=ldap in openldap2","id":"CVE-2020-8023"},"packages":[{"ecosystem":"Bitnami","fixed":["9.0.35-3.57.3"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:bitnami/tomcat","source":"BIT-tomcat-2020-8022"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["9.0.35-3.57.3"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2020:1789-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["9.0.35-3.57.3"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2020:1789-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP1","fixed":["9.0.35-4.35.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP1","source":"SUSE-SU-2020:1790-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["9.0.35-3.39.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2020:1788-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["9.0.35-3.39.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:1788-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["9.0.35-3.57.3"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2020:1789-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["9.0.35-3.39.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:1788-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["9.0.35-3.39.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:1788-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["9.0.35-3.57.3"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2020:1789-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["8.0.53-29.32.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2020:1791-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["9.0.35-lp151.3.21.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/opensuse/tomcat\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0911-1"}],"prev":{"headline":"unauthorized read access to files where sourceaccess is disabled via a crafted _service file in Open Build Service","id":"CVE-2020-8021"},"products":["SUSE Enterprise Storage 5","SUSE Linux Enterprise Server 12-SP2-BCL","SUSE Linux Enterprise Server 12-SP2-LTSS","SUSE Linux Enterprise Server 12-SP3-BCL","SUSE Linux Enterprise Server 12-SP3-LTSS","SUSE Linux Enterprise Server 12-SP4","SUSE Linux Enterprise Server 12-SP5","SUSE Linux Enterprise Server 15-LTSS","SUSE Linux Enterprise Server for SAP 12-SP2","SUSE Linux Enterprise Server for SAP 12-SP3","SUSE Linux Enterprise Server for SAP 15","SUSE OpenStack Cloud 7","SUSE OpenStack Cloud 8","SUSE OpenStack Cloud Crowbar 8"],"published":"2020-06-29","related":[{"cvss_score":10,"headline":"Apache Tomcat Path Equivalence","id":"CVE-2025-24813","kev_date_added":"2025-04-01","published":"2025-03-10"},{"cvss_score":9.8,"headline":"Apache Tomcat Remote Code Execution","id":"CVE-2016-8735","kev_date_added":"2023-05-12","published":"2017-04-06"},{"cvss_score":8.1,"headline":"Apache Tomcat Remote Code Execution","id":"CVE-2017-12617","kev_date_added":"2022-03-25","published":"2017-10-03"},{"cvss_score":8.1,"headline":"Apache Tomcat on Windows Remote Code Execution","id":"CVE-2017-12615","kev_date_added":"2022-03-25","published":"2017-09-19"},{"cvss_score":7.5,"headline":"Apache Tomcat Missing Encryption of Sensitive Data","id":"CVE-2026-34486","kev_date_added":"2026-08-04","published":"2026-04-09"},{"cvss_score":9.8,"headline":"Apache Tomcat: HTTP/2 no-authority bypass of strict SNI validation - CVE-2026-32990 fix incomplete","id":"CVE-2026-65637","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Apache Tomcat: Limited replay attack possible with DIGEST authentication","id":"CVE-2026-65905","kev_date_added":null,"published":"2026-08-25"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["SUSE"]},"summary":"Local attackers can escalate privileges from tomcat group to root due to incorrect default permissions on a configuration file.","url":"https://insights.sbomify.com/CVE-2020-8022/"}