CVE-2023-24998
Apache Commons FileUpload denial of service vulnerability
Description
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. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.
Affected Maven artifacts (4)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| commons-fileupload » commons-fileupload | < 1.5 | 1.5 |
| org.apache.tomcat » tomcat-catalina | >= 8.5.85, < 8.5.88>= 9.0.0-M1, < 9.0.71>= 10.1.0-M1, < 10.1.5>= 11.0.0-M2, < 11.0.0-M5 | 8.5.88, 9.0.71, 10.1.5, 11.0.0-M5 |
| org.apache.tomcat » tomcat-coyote | >= 8.5.85, < 8.5.88>= 9.0.0-M1, < 9.0.71>= 10.1.0-M1, < 10.1.5>= 11.0.0-M2, < 11.0.0-M5 | 8.5.88, 9.0.71, 10.1.5, 11.0.0-M5 |
| org.apache.tomcat.embed » tomcat-embed-core | >= 8.5.85, < 8.5.88>= 9.0.0-M1, < 9.0.71>= 10.1.0-M1, < 10.1.5>= 11.0.0-M2, < 11.0.0-M5 | 8.5.88, 9.0.71, 10.1.5, 11.0.0-M5 |
Blast radius
73% of the dependent artifacts (32,432) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 130,540 |
| 2 hops | 669,757 |
| 3 hops | 1,064,063 |
| 4 hops | 857,393 |
| 5 hops | 464,155 |
| 6 hops | 161,389 |
Most used dependents
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework » spring-web12,086 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.springframework » spring-webmvc7,538 usages
- org.apache.maven.plugins » maven-plugin-plugin6,502 usages
- org.codehaus.mojo » versions-maven-plugin5,371 usages
- org.codehaus.mojo » license-maven-plugin3,293 usages
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- org.springframework » spring-orm3,194 usages
- org.codehaus.mojo » findbugs-maven-plugin2,938 usages
- org.apache.rat » apache-rat-plugin2,568 usages
- org.apache.maven.plugins » maven-pmd-plugin2,252 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-24998
- Webhttps://github.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
- Webhttps://github.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
- Webhttps://github.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
- Webhttps://github.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
- Webhttps://github.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
- Webhttps://www.debian.org/security/2023/dsa-5522
- Webhttps://tomcat.apache.org/security-9.html
- Webhttps://tomcat.apache.org/security-8.html
- Webhttps://tomcat.apache.org/security-11.html
- Webhttps://tomcat.apache.org/security-10.html
- Webhttps://security.netapp.com/advisory/ntap-20241108-0002
- Webhttps://security.netapp.com/advisory/ntap-20230302-0013
- Webhttps://security.gentoo.org/glsa/202305-37
- Webhttps://lists.debian.org/debian-lts-announce/2025/07/msg00008.html
- Webhttps://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- Webhttps://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- Webhttps://github.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
- Packagehttps://github.com/apache/commons-fileupload
- Webhttps://commons.apache.org/proper/commons-fileupload/security-reports.html
- Webhttp://www.openwall.com/lists/oss-security/2023/05/22/1
