{"id":"CVE-2023-24998","published":"2023-02-20T15:57:07Z","modified":"2026-10-07T16:20:25Z","title":"Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts","vendor":"Apache","product":"Apache Commons FileUpload","tier":"tail","description":{"text":"Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads.\n\n\n\n\nNote that, like all of the file upload limits, the\n          new configuration option (FileUploadBase#setFileCountMax) is not\n          enabled by default and must be explicitly configured.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.48788,"percentile":0.98874,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/05/22/1","tags":[]},{"url":"https://security.gentoo.org/glsa/202305-37","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5522","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230302-0013/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00008.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","tags":[]}],"priority":{"score":30.0,"factors":[{"name":"EPSS percentile","points":19.77},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-03-29","earliestUrl":"https://github.com/nice1st/CVE-2023-24998","repos":[{"name":"nice1st/CVE-2023-24998","url":"https://github.com/nice1st/CVE-2023-24998","stars":4,"created":"2023-03-29"}]},"first":{"date":"2023-03-29","source":"PoC-in-GitHub","url":"https://github.com/nice1st/CVE-2023-24998"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Commons FileUpload","versions":["< 1.5"]},{"vendor":"Apache Software Foundation","product":"Apache Tomcat","versions":["11.0.0-M1",">= 10.0.0-M1, <= 10.1.4",">= 9.0.0-M1, <= 9.0.70",">= 8.5.0, <= 8.5.84"]}],"affected":[{"ecosystem":"Maven","package":"commons-fileupload:commons-fileupload","vulnerableRanges":["<1.5"],"patched":["1.5"],"from":["GHSA-hfrx-6qgj-fp6c"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-coyote","vulnerableRanges":[">=10.1.0-M1, <10.1.5",">=11.0.0-M2, <11.0.0-M5",">=8.5.85, <8.5.88",">=9.0.0-M1, <9.0.71"],"patched":["10.1.5","11.0.0-M5","8.5.88","9.0.71"],"from":["GHSA-hfrx-6qgj-fp6c"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat.embed:tomcat-embed-core","vulnerableRanges":[">=10.1.0-M1, <10.1.5",">=11.0.0-M2, <11.0.0-M5",">=8.5.85, <8.5.88",">=9.0.0-M1, <9.0.71"],"patched":["10.1.5","11.0.0-M5","8.5.88","9.0.71"],"from":["GHSA-hfrx-6qgj-fp6c"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat-catalina","vulnerableRanges":[">=10.1.0-M1, <10.1.5",">=11.0.0-M2, <11.0.0-M5",">=8.5.85, <8.5.88",">=9.0.0-M1, <9.0.71"],"patched":["10.1.5","11.0.0-M5","8.5.88","9.0.71"],"from":["GHSA-hfrx-6qgj-fp6c"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0720","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-tomcat-cve-2008-2938","children":[{"from":"CVE-2023-24998","to":"CVE-2023-28709","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2023-24998 was incomplete for Apache Tomcat 11.0.0-M2 to 11.0.0-M4, 10.1.5 to 10.1.7, 9.0.71 to 9.0.73 and 8.5.85 to 8.5.87.","from":"CVE.org","in":"CVE-2023-28709"},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat.embed:tomcat-embed-core","fromFixed":"9.0.71","toFixed":"9.0.74","daysApart":91},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat.embed:tomcat-embed-core","fromFixed":"10.1.5","toFixed":"10.1.8","daysApart":91},{"kind":"same-code","provenance":"machine","files":["java/org/apache/tomcat/util/http/Parameters.java"],"commits":["https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce","https://github.com/apache/tomcat/commit/5badf94e79e5de206fc0ef3054fd536b1bb787cd","https://github.com/apache/tomcat/commit/ba848da71c523d94950d3c53c19ea155189df9dc"],"basis":"rarely changed file"}]},{"from":"CVE-2023-24998","to":"CVE-2023-46589","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/org/apache/tomcat/util/http/Parameters.java"],"commits":["https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce","https://github.com/apache/tomcat/commit/6f181e1062a472bc5f0234980f66cbde42c1041b","https://github.com/apache/tomcat/commit/7a2d8818fcea0b51747a67af9510ce7977245ebd"],"basis":"shared function","functions":["parseParts"]}]},{"from":"CVE-2023-24998","to":"CVE-2025-52520","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/8a2285f13affa961cc65595aad999db5efae45ce","https://github.com/apache/tomcat/commit/927d66fbc294cb65242102b817a45fd80834e040","https://github.com/apache/tomcat/commit/a51e4bedccfafd35b7cdd0ee3e22267dee9f90db"],"basis":"shared function","functions":["parseParts"]}]}],"packageHistory":[{"cve":"CVE-2022-45143","published":"2023-01-03","fixed":"10.1.2","kev":false,"link":{"from":"CVE-2022-45143","to":"CVE-2023-24998","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat.embed:tomcat-embed-core","fromFixed":"9.0.69","toFixed":"9.0.71","daysApart":48},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat.embed:tomcat-embed-core","fromFixed":"10.1.2","toFixed":"10.1.5","daysApart":48}]}},{"cve":"CVE-2023-41080","published":"2023-08-25","fixed":"10.1.13","kev":false,"link":{"from":"CVE-2023-24998","to":"CVE-2023-41080","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat.embed:tomcat-embed-core","fromFixed":"8.5.88","toFixed":"8.5.93","daysApart":186},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"8.5.88","toFixed":"8.5.93","daysApart":186}]}},{"cve":"CVE-2023-46589","published":"2023-11-28","fixed":"11.0.0-M11","kev":false},{"cve":"CVE-2023-42795","published":"2023-10-10","fixed":"11.0.0-M12","kev":false},{"cve":"CVE-2023-28708","published":"2023-03-22","fixed":"11.0.0-M3","kev":false,"link":{"from":"CVE-2023-24998","to":"CVE-2023-28708","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"10.1.5","toFixed":"10.1.6","daysApart":30},{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"9.0.71","toFixed":"9.0.72","daysApart":30},{"kind":"same-code","provenance":"machine","files":["java/org/apache/catalina/connector/Request.java"],"commits":["https://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce","https://github.com/apache/tomcat/commit/3b51230764da595bb19e8d0962dd8c69ab40dfab","https://github.com/apache/tomcat/commit/5b72c94e8b2c4ada63a1d91dc527bf4d8fd1f510"],"basis":"shared file"}]}},{"cve":"CVE-2023-24998","published":"2023-02-20","fixed":"11.0.0-M5","kev":false},{"cve":"CVE-2024-52316","published":"2024-11-18","fixed":"11.0.1","kev":false,"link":{"from":"CVE-2023-24998","to":"CVE-2024-52316","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.tomcat:tomcat-catalina","fromFixed":"11.0.0-M5","toFixed":"11.0.1","daysApart":637}]}},{"cve":"CVE-2024-50379","published":"2024-12-17","fixed":"11.0.2","kev":false},{"cve":"CVE-2024-56337","published":"2024-12-20","fixed":"11.0.2","kev":false}],"package":"Maven:org.apache.tomcat:tomcat-catalina"}}