{"answers":{"affected":"16 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core and org.apache.tomcat:tomcat-catalina. It affects 58 products.","exploited":"Yes. Attackers have exploited CVE-2017-12617 in the wild since at least 25 Mar 2022.","fix":"Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 7.0.82, 8.0.47, 8.5.23 or 9.0.1. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2017-12617 is a high-severity vulnerability in Apache Tomcat, published on 3 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-12617 and fix it if it is affected.\n\nWhat it is: CVE-2017-12617 is a high-severity vulnerability in Apache Tomcat, published on 3 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-12617 in the wild since at least 25 Mar 2022.\n\nAffected packages and fixed versions:\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 7.0.0; fixed in 7.0.82\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 7.0.0; fixed in 7.0.82\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 8.0.0-RC1; fixed in 8.0.47\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 8.0.0-RC1; fixed in 8.0.47\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 8.5.0; fixed in 8.5.23\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 8.5.0; fixed in 8.5.23\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 9.0.0.M1; fixed in 9.0.1\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 9.0.0.M1; fixed in 9.0.1\n- org.apache.tomcat:tomcat-catalina (Maven): affected from 7.0.0; fixed in 7.0.82\n- org.apache.tomcat:tomcat-catalina (Maven): affected from 7.0.0; fixed in 7.0.82\n- org.apache.tomcat:tomcat-catalina (Maven): affected from 8.0.0-RC1; fixed in 8.0.47\n- org.apache.tomcat:tomcat-catalina (Maven): affected from 8.0.0-RC1; fixed in 8.0.47\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-2017-12617/ (Markdown: https://insights.sbomify.com/CVE-2017-12617/index.md)","id":"CVE-2017-12617","markdown":"https://insights.sbomify.com/CVE-2017-12617/index.md","name":"CVE-2017-12617","record":{"aliases":["DLA-1166-1","GHSA-xjgh-84hx-56c5","MGASA-2017-0400","UBUNTU-CVE-2017-12617"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Tomcat","requires_auth":"none","summary":"Attackers can upload and execute malicious JSP files on Apache Tomcat servers if HTTP PUT is enabled, leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"tomcat","vendor":"apache"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"element","vendor":"netapp"},{"product":"oncommand_balance","vendor":"netapp"},{"product":"oncommand_insight","vendor":"netapp"},{"product":"oncommand_shift","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"agile_product_lifecycle_management","vendor":"oracle"},{"product":"communications_instant_messaging_server","vendor":"oracle"},{"product":"endeca_information_discovery_integrator","vendor":"oracle"},{"product":"enterprise_manager_for_mysql_database","vendor":"oracle"},{"product":"financial_services_analytical_applications_infrastructure","vendor":"oracle"},{"product":"fmw_platform","vendor":"oracle"},{"product":"health_sciences_empirica_inspections","vendor":"oracle"},{"product":"hospitality_guest_access","vendor":"oracle"},{"product":"instantis_enterprisetrack","vendor":"oracle"},{"product":"management_pack","vendor":"oracle"},{"product":"micros_lucas","vendor":"oracle"},{"product":"micros_retail_xbri_loss_prevention","vendor":"oracle"},{"product":"mysql_enterprise_monitor","vendor":"oracle"},{"product":"retail_advanced_inventory_planning","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_convenience_and_fuel_pos_software","vendor":"oracle"},{"product":"retail_eftlink","vendor":"oracle"},{"product":"retail_insights","vendor":"oracle"},{"product":"retail_invoice_matching","vendor":"oracle"},{"product":"retail_order_broker","vendor":"oracle"},{"product":"retail_order_management_system","vendor":"oracle"},{"product":"retail_point-of-service","vendor":"oracle"},{"product":"retail_price_management","vendor":"oracle"},{"product":"retail_returns_management","vendor":"oracle"},{"product":"retail_store_inventory_management","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"transportation_management","vendor":"oracle"},{"product":"tuxedo_system_and_applications_monitor","vendor":"oracle"},{"product":"webcenter_sites","vendor":"oracle"},{"product":"workload_manager","vendor":"oracle"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_eus_compute_node","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"fuse","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_enterprise_web_server","vendor":"redhat"},{"product":"jboss_enterprise_web_server_text-only_advisories","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.","ecosystems":["Maven"],"exploits":{"exploitdb":2,"first_seen":"2017-10-03","github_poc":10,"max_poc_stars":400,"metasploit":1,"nuclei":1,"refs":[{"date":"2017-10-05T23:41:52Z","kind":"github_poc","ref":"https://github.com/cyberheartmi9/CVE-2017-12617","stars":400,"title":"Apache Tomcat \u003c 9.0.1 (Beta) / \u003c 8.5.23 / \u003c 8.0.47 / \u003c 7.0.8 - JSP Upload Bypass / Remote Code Execution "},{"date":"2021-12-10T22:21:07Z","kind":"github_poc","ref":"https://github.com/LongWayHomie/CVE-2017-12617","stars":6,"title":"CVE-2017-12617 is a critical vulnerability leading to Remote Code Execution (RCE) in Apache Tomcat."},{"date":"2019-01-14T20:58:29Z","kind":"github_poc","ref":"https://github.com/ygouzerh/CVE-2017-12617","stars":2,"title":"Proof of Concept - RCE Exploitation : Web Shell on Apache Tomcat - Ensimag January 2018"},{"date":"2021-02-04T04:28:21Z","kind":"github_poc","ref":"https://github.com/tyranteye666/tomcat-cve-2017-12617","stars":1,"title":"Apache Tomcat \u003c 9.0.1 (Beta) / \u003c 8.5.23 / \u003c 8.0.47 / \u003c 7.0.8 - JSP Upload Bypass / Remote Code Execution for Python3"},{"date":"2021-07-27T13:06:16Z","kind":"github_poc","ref":"https://github.com/jptr218/tc_hack","stars":1,"title":"An implementation of CVE-2017-12617"},{"date":"2017-10-03","kind":"metasploit","ref":"exploit/multi/http/tomcat_jsp_upload_bypass","stars":null,"title":"Tomcat RCE via JSP Upload Bypass"},{"date":"2017-10-09","kind":"exploitdb","ref":"42966","stars":null,"title":"Apache Tomcat \u003c 9.0.1 (Beta) / \u003c 8.5.23 / \u003c 8.0.47 / \u003c 7.0.8 - JSP Upload Bypass / Remote Code Execution (2)"},{"date":"2017-10-17","kind":"exploitdb","ref":"43008","stars":null,"title":"Tomcat - Remote Code Execution via JSP Upload Bypass (Metasploit)"}],"tier":"exploited"},"has_fix":true,"headline":"Apache Tomcat Remote Code Execution","id":"CVE-2017-12617","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Unknown","product":"Tomcat","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apache","vulnerabilityName":"Apache Tomcat Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":"apache:tomcat","products":["apache:tomcat","canonical:ubuntu_linux","debian:debian_linux","netapp:active_iq_unified_manager","netapp:oncommand_balance","netapp:oncommand_insight","netapp:oncommand_shift","netapp:oncommand_workflow_automation","netapp:snapcenter","oracle:agile_product_lifecycle_management","oracle:communications_instant_messaging_server","oracle:financial_services_analytical_applications_infrastructure","oracle:instantis_enterprisetrack","oracle:mysql_enterprise_monitor","oracle:retail_xstore_point_of_service","oracle:webcenter_sites","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:jboss_enterprise_application_platform"],"type":"file_upload","year":"2017"},"n_packages":16,"n_references":44,"next":{"headline":"Denial of service in Apache Portable Runtime","id":"CVE-2017-12618"},"packages":[{"ecosystem":"Maven","fixed":["7.0.82"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["7.0.82"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.0.47"],"introduced":["8.0.0-RC1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.0.47"],"introduced":["8.0.0-RC1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.5.23"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.5.23"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["9.0.1"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["9.0.1"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["7.0.82"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["7.0.82"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.0.47"],"introduced":["8.0.0-RC1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.0.47"],"introduced":["8.0.0-RC1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.5.23"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["8.5.23"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["9.0.1"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":null,"source":"GHSA-xjgh-84hx-56c5"},{"ecosystem":"Maven","fixed":["9.0.1"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-catalina","purl":"pkg:maven/org.apache.tomcat/tomcat-catalina","source":"GHSA-xjgh-84hx-56c5"}],"prev":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat","id":"CVE-2017-12616"},"products":["Apache Tomcat"],"published":"2017-10-03","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 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":"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":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can upload and execute malicious JSP files on Apache Tomcat servers if HTTP PUT is enabled, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2017-12617/"}