{"id":"CVE-2023-42795","published":"2023-10-10T17:42:16Z","modified":"2025-10-29T12:02:59Z","title":"Apache Tomcat: Failure during request clean-up leads to sensitive data leaking to subsequent requests","vendor":"Apache","product":"Apache Tomcat","tier":"tail","description":{"text":"Incomplete Cleanup vulnerability in Apache Tomcat.When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could \ncause Tomcat to skip some parts of the recycling process leading to \ninformation leaking from the current request/response to the next.\nOlder, EOL versions may also be affected.\n\n\nUsers are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02515,"percentile":0.84789,"provenance":"source"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/10/9","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5522","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5521","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20231103-0007/","tags":["x_transferred"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":16.96},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":[">= 11.0.0-M1, <= 11.0.0-M11",">= 10.1.0-M1, <= 10.1.13",">= 9.0.0-M1, <= 9.0.80",">= 8.5.0, <= 8.5.93"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","vulnerableRanges":[">=11.0.0-M1, <11.0.0-M12",">=10.1.0-M1, <10.1.14",">=9.0.0-M1, <9.0.81",">=8.5.0, <8.5.94"],"patched":["11.0.0-M12","10.1.14","9.0.81","8.5.94"],"from":["GHSA-g8pj-r55q-5c2v"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","vulnerableRanges":[">=10.1.0-M1, <10.1.14",">=9.0.0-M1, <9.0.81",">=8.5.0, <8.5.94",">=11.0.0-M1, <11.0.0-M12"],"patched":["10.1.14","9.0.81","8.5.94","11.0.0-M12"],"from":["GHSA-g8pj-r55q-5c2v"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","vulnerableRanges":[">=11.0.0-M1, <11.0.0-M12",">=10.1.0-M1, <10.1.14",">=9.0.0-M1, <9.0.81",">=8.5.0, <8.5.94"],"patched":["11.0.0-M12","10.1.14","9.0.81","8.5.94"],"from":["GHSA-g8pj-r55q-5c2v"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-util","vulnerableRanges":[">=11.0.0-M1, <11.0.0-M12",">=10.1.0-M1, <10.1.14",">=9.0.0-M1, <9.0.81",">=8.5.0, <8.5.94"],"patched":["11.0.0-M12","10.1.14","9.0.81","8.5.94"],"from":["GHSA-g8pj-r55q-5c2v"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-2737","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-tomcat-cve-2008-2938","parents":[{"from":"CVE-2015-5346","to":"CVE-2023-42795","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/connector/Request.java"],"commits":["https://github.com/apache/tomcat/commit/04164c1f01b973e548d95511d417f414ca723cb8","https://github.com/apache/tomcat/commit/6287be37d8d06c320215c45f7e2b8380411692e0","https://github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf","https://github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75"],"basis":"shared function","functions":["recycle"]}]}],"children":[{"from":"CVE-2023-42795","to":"CVE-2023-46589","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"10.1.14","toFixed":"10.1.16","daysApart":49},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"9.0.81","toFixed":"9.0.83","daysApart":49},{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/connector/Request.java"],"commits":["https://github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf","https://github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75","https://github.com/apache/tomcat/commit/6f181e1062a472bc5f0234980f66cbde42c1041b","https://github.com/apache/tomcat/commit/7a2d8818fcea0b51747a67af9510ce7977245ebd"],"basis":"shared function","functions":["recycle"]}]}],"packageHistory":[{"cve":"CVE-2014-0099","published":"2014-05-31","fixed":"8.0.6","kev":false},{"cve":"CVE-2016-8745","published":"2017-08-10","fixed":"9.0.0.M14","kev":false},{"cve":"CVE-2022-45143","published":"2023-01-03","fixed":"9.0.69","kev":false,"link":{"from":"CVE-2022-45143","to":"CVE-2023-42795","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-util","fromFixed":"8.5.84","toFixed":"8.5.94","daysApart":280},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-util","fromFixed":"9.0.69","toFixed":"9.0.81","daysApart":280}]}},{"cve":"CVE-2023-42795","published":"2023-10-10","fixed":"11.0.0-M12","kev":false},{"cve":"CVE-2026-53434","published":"2026-06-29","fixed":"11.0.23","kev":false}],"package":"Maven:org.apache.tomcat:tomcat-util"}}