{"answers":{"affected":"25 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-websocket, tomcat and org.apache.tomcat:tomcat. It affects 18 products.","exploited":"There is no known exploitation of CVE-2020-13935 in the wild and no public exploit code.","fix":"Upgrade org.apache.tomcat.embed:tomcat-embed-websocket to a fixed version for your release line: 10.0.0-M7, 7.0.105, 8.5.57 or 9.0.37.","what":"CVE-2020-13935 is a high-severity denial of service vulnerability in Apache Tomcat, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-13935 and fix it if it is affected.\n\nWhat it is: CVE-2020-13935 is a high-severity denial of service vulnerability in Apache Tomcat, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-13935 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 10.0.0-M1; fixed in 10.0.0-M7\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 10.0.0-M1; fixed in 10.0.0-M7\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 7.0.27; fixed in 7.0.105\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 7.0.27; fixed in 7.0.105\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 8.5.0; fixed in 8.5.57\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 8.5.0; fixed in 8.5.57\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 9.0.0.M1; fixed in 9.0.37\n- org.apache.tomcat.embed:tomcat-embed-websocket (Maven): affected from 9.0.0.M1; fixed in 9.0.37\n- tomcat (Bitnami): affected from 7.0.27; fixed in 7.0.105, 8.5.57, 9.0.37\n- org.apache.tomcat:tomcat (Maven): affected from 10.0.0-M1; fixed in 10.0.0-M7\n- org.apache.tomcat:tomcat (Maven): affected from 10.0.0-M1; fixed in 10.0.0-M7\n- org.apache.tomcat:tomcat (Maven): affected from 7.0.27; fixed in 7.0.105\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-13935/ (Markdown: https://insights.sbomify.com/CVE-2020-13935/index.md)","id":"CVE-2020-13935","markdown":"https://insights.sbomify.com/CVE-2020-13935/index.md","name":"CVE-2020-13935","record":{"aliases":["BIT-tomcat-2020-13935","CLSA-2026-1777446601","DEBIAN-CVE-2020-13935","GHSA-m7jv-hq7h-mq7c","RHSA-2020:3383","UBUNTU-CVE-2020-13935"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Tomcat","requires_auth":"none","summary":"Attackers can cause a denial of service in Apache Tomcat by sending WebSocket frames with invalid payload lengths, triggering an infinite loop.","user_interaction":"not_required","vuln_class":"denial_of_service"},"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":"epolicy_orchestrator","vendor":"mcafee"},{"product":"oncommand_system_manager","vendor":"netapp"},{"product":"leap","vendor":"opensuse"},{"product":"agile_engineering_data_management","vendor":"oracle"},{"product":"agile_product_lifecycle_management","vendor":"oracle"},{"product":"blockchain_platform","vendor":"oracle"},{"product":"commerce_guided_search","vendor":"oracle"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"communications_instant_messaging_server","vendor":"oracle"},{"product":"fmw_platform","vendor":"oracle"},{"product":"instantis_enterprisetrack","vendor":"oracle"},{"product":"managed_file_transfer","vendor":"oracle"},{"product":"mysql_enterprise_monitor","vendor":"oracle"},{"product":"siebel_ui_framework","vendor":"oracle"},{"product":"workload_manager","vendor":"oracle"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 10.0.0-M1 to 10.0.0-M6, 9.0.0.M1 to 9.0.36, 8.5.0 to 8.5.56 and 7.0.27 to 7.0.104. Invalid payload lengths could trigger an infinite loop. Multiple requests with invalid payload lengths could lead to a denial of service.","ecosystems":["Bitnami","Maven","Red Hat:jboss_enterprise_application_platform:6::el5","Red Hat:jboss_enterprise_application_platform:6::el6","Red Hat:jboss_enterprise_application_platform:6::el7"],"exploits":{"exploitdb":0,"first_seen":"2020-11-02","github_poc":2,"max_poc_stars":167,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-11-02T14:48:55Z","kind":"github_poc","ref":"https://github.com/RedTeamPentesting/CVE-2020-13935","stars":167,"title":"Exploit for WebSocket Vulnerability in Apache Tomcat"},{"date":"2022-06-02T13:21:25Z","kind":"github_poc","ref":"https://github.com/aabbcc19191/CVE-2020-13935","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Infinite Loop in Apache Tomcat","id":"CVE-2020-13935","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:tomcat","products":["apache:tomcat","canonical:ubuntu_linux","debian:debian_linux","mcafee:epolicy_orchestrator","opensuse:leap","oracle:agile_product_lifecycle_management","oracle:commerce_guided_search","oracle:communications_cloud_native_core_policy","oracle:communications_instant_messaging_server","oracle:instantis_enterprisetrack","oracle:mysql_enterprise_monitor","oracle:siebel_ui_framework"],"type":"denial_of_service","year":"2020"},"n_packages":28,"n_references":17,"next":{"headline":"Velocity Sandbox Bypass","id":"CVE-2020-13936"},"packages":[{"ecosystem":"Bitnami","fixed":["7.0.105","8.5.57","9.0.37"],"introduced":["7.0.27","8.5.0","9.0.1"],"last_affected":[],"package":"tomcat","purl":"pkg:bitnami/tomcat","source":"BIT-tomcat-2020-13935"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-websocket","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["10.0.0-M7"],"introduced":["10.0.0-M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["7.0.105"],"introduced":["7.0.27"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["8.5.57"],"introduced":["8.5.0"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":null,"source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Maven","fixed":["9.0.37"],"introduced":["9.0.0.M1"],"last_affected":[],"package":"org.apache.tomcat:tomcat-websocket","purl":"pkg:maven/org.apache.tomcat/tomcat-websocket","source":"GHSA-m7jv-hq7h-mq7c"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el5","fixed":["0:7.5.31-2.Final_redhat_2.1.ep6.el5"],"introduced":["0"],"last_affected":[],"package":"jbossweb","purl":"pkg:rpm/redhat/jbossweb","source":"RHSA-2020:3383"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el6","fixed":["0:7.5.31-2.Final_redhat_2.1.ep6.el6"],"introduced":["0"],"last_affected":[],"package":"jbossweb","purl":"pkg:rpm/redhat/jbossweb","source":"RHSA-2020:3383"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:6::el7","fixed":["0:7.5.31-2.Final_redhat_2.1.ep6.el7"],"introduced":["0"],"last_affected":[],"package":"jbossweb","purl":"pkg:rpm/redhat/jbossweb","source":"RHSA-2020:3383"}],"prev":{"headline":"Improper Restriction of Operations within the Bounds of a Memory Buffer in Apache Tomcat","id":"CVE-2020-13934"},"products":["Apache Tomcat"],"published":"2020-07-14","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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["n/a"]},"summary":"Attackers can cause a denial of service in Apache Tomcat by sending WebSocket frames with invalid payload lengths, triggering an infinite loop.","url":"https://insights.sbomify.com/CVE-2020-13935/"}