{"answers":{"affected":"7 open source packages ship an affected version, including org.apache.tomcat:tomcat and tomcat. It affects 7 products.","exploited":"There is no known exploitation of CVE-2022-23181 in the wild and no public exploit code.","fix":"Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 8.5.75, 10.0.16 or 9.0.58.","what":"CVE-2022-23181 is a high-severity vulnerability in Apache Tomcat, published on 27 Jan 2022. 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-2022-23181 and fix it if it is affected.\n\nWhat it is: CVE-2022-23181 is a high-severity vulnerability in Apache Tomcat, published on 27 Jan 2022. 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-2022-23181 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.tomcat:tomcat (Maven): affected all versions; fixed in 8.5.75\n- org.apache.tomcat:tomcat (Maven): affected all versions; fixed in 8.5.75\n- org.apache.tomcat:tomcat (Maven): affected from 10.0.0; fixed in 10.0.16\n- org.apache.tomcat:tomcat (Maven): affected from 10.0.0; fixed in 10.0.16\n- org.apache.tomcat:tomcat (Maven): affected from 9.0.0; fixed in 9.0.58\n- org.apache.tomcat:tomcat (Maven): affected from 9.0.0; fixed in 9.0.58\n- tomcat (Bitnami): affected from 8.5.55; fixed in 8.5.74, 9.0.57, 10.0.15\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-2022-23181/ (Markdown: https://insights.sbomify.com/CVE-2022-23181/index.md)","id":"CVE-2022-23181","markdown":"https://insights.sbomify.com/CVE-2022-23181/index.md","name":"CVE-2022-23181","record":{"aliases":["BIT-tomcat-2022-23181","CLEANSTART-2026-PF53076","CLSA-2024-1725471295","CLSA-2026-1783040469","DEBIAN-CVE-2022-23181","GHSA-9f3j-pm6f-9fm5","OESA-2022-1537","OESA-2022-2064","SUSE-SU-2022:0694-1","SUSE-SU-2022:0695-1","SUSE-SU-2022:0784-1","SUSE-SU-2022:0818-1","UBUNTU-CVE-2022-23181","openSUSE-SU-2022:0818-1","openSUSE-SU-2024:11864-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Apache Tomcat","requires_auth":"low_privilege","summary":"A local attacker can escalate privileges via a race condition in session persistence, requiring FileStore configuration.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"tomcat","vendor":"apache"},{"product":"debian_linux","vendor":"debian"},{"product":"agile_engineering_data_management","vendor":"oracle"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"financial_services_crime_and_compliance_management_studio","vendor":"oracle"},{"product":"managed_file_transfer","vendor":"oracle"},{"product":"mysql_enterprise_monitor","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-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"The fix for bug CVE-2020-9484 introduced a time of check, time of use vulnerability into Apache Tomcat 10.1.0-M1 to 10.1.0-M8, 10.0.0-M5 to 10.0.14, 9.0.35 to 9.0.56 and 8.5.55 to 8.5.73 that allowed a local attacker to perform actions with the privileges of the user that the Tomcat process is using. This issue is only exploitable when Tomcat is configured to persist sessions using the FileStore.","ecosystems":["Bitnami","Maven","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","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 SP3","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","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:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"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 privilege escalation with FileStore","id":"CVE-2022-23181","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:tomcat","products":["apache:tomcat","debian:debian_linux","oracle:communications_cloud_native_core_policy","oracle:mysql_enterprise_monitor"],"type":"race_condition","year":"2022"},"n_packages":45,"n_references":6,"next":{"headline":"Auth bypass in Intel(R) Data Center Manager software","id":"CVE-2022-23182"},"packages":[{"ecosystem":"Bitnami","fixed":["8.5.74","9.0.57","10.0.15"],"introduced":["8.5.55","9.0.35","10.0.1"],"last_affected":[],"package":"tomcat","purl":"pkg:bitnami/tomcat","source":"BIT-tomcat-2022-23181"},{"ecosystem":"Maven","fixed":["8.5.75"],"introduced":["0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"Maven","fixed":["8.5.75"],"introduced":["0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"Maven","fixed":["10.0.16"],"introduced":["10.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"Maven","fixed":["10.0.16"],"introduced":["10.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"Maven","fixed":["9.0.58"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"Maven","fixed":["9.0.58"],"introduced":["9.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-9f3j-pm6f-9fm5"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["9.0.36-3.90.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:0694-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["9.0.36-3.90.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:0694-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP3","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP3","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["9.0.36-3.84.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["9.0.36-3.84.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["9.0.36-3.90.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:0694-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["9.0.36-3.84.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-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["9.0.36-3.84.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-2022:0784-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["9.0.36-3.90.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:0694-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["9.0.36-4.70.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:0695-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["9.0.36-19.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:0818-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["5.3.1-14.5.1"],"introduced":["0"],"last_affected":[],"package":"javapackages-tools","purl":"pkg:rpm/suse/javapackages-tools\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:0784-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["9.0.36-3.84.1"],"introduced":["0"],"last_affected":[],"package":"tomcat","purl":"pkg:rpm/suse/tomcat\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:0784-1"}],"prev":{"headline":"Contact Form \u0026 Lead Form Elementor Builder Plugin \u003c 1.7.4 - Multiple Subscriber+ Settings Update","id":"CVE-2022-23180"},"products":["Apache Tomcat"],"published":"2022-01-27","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":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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-03","vendors":["Apache Software Foundation"]},"summary":"A local attacker can escalate privileges via a race condition in session persistence, requiring FileStore configuration.","url":"https://insights.sbomify.com/CVE-2022-23181/"}