Apache Commons FileUpload denial of service vulnerability
Published 20 Feb 2023 · Updated 7 Aug 2026
Is your project on an affected commons-fileupload:commons-fileupload?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <1.5
- Fixed in
- 1.5
mvn versions:use-dep-version -Dincludes=commons-fileupload:commons-fileupload -DdepVersion=1.5 -DforceVersion=true- Affected
- >=10.1.0-M1 <10.1.5
- Fixed in
- 10.1.5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-coyote -DdepVersion=10.1.5 -DforceVersion=true- Affected
- >=11.0.0-M2 <11.0.0-M5
- Fixed in
- 11.0.0-M5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-coyote -DdepVersion=11.0.0-M5 -DforceVersion=true- Affected
- >=8.5.85 <8.5.88
- Fixed in
- 8.5.88
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-coyote -DdepVersion=8.5.88 -DforceVersion=true- Affected
- >=9.0.0-M1 <9.0.71
- Fixed in
- 9.0.71
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-coyote -DdepVersion=9.0.71 -DforceVersion=true- Affected
- >=10.1.0-M1 <10.1.5
- Fixed in
- 10.1.5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=10.1.5 -DforceVersion=true- Affected
- >=11.0.0-M2 <11.0.0-M5
- Fixed in
- 11.0.0-M5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=11.0.0-M5 -DforceVersion=true- Affected
- >=8.5.85 <8.5.88
- Fixed in
- 8.5.88
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=8.5.88 -DforceVersion=true- Affected
- >=9.0.0-M1 <9.0.71
- Fixed in
- 9.0.71
mvn versions:use-dep-version -Dincludes=org.apache.tomcat.embed:tomcat-embed-core -DdepVersion=9.0.71 -DforceVersion=true- Affected
- >=10.1.0-M1 <10.1.5
- Fixed in
- 10.1.5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=10.1.5 -DforceVersion=true- Affected
- >=11.0.0-M2 <11.0.0-M5
- Fixed in
- 11.0.0-M5
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=11.0.0-M5 -DforceVersion=true- Affected
- >=8.5.85 <8.5.88
- Fixed in
- 8.5.88
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=8.5.88 -DforceVersion=true- Affected
- >=9.0.0-M1 <9.0.71
- Fixed in
- 9.0.71
mvn versions:use-dep-version -Dincludes=org.apache.tomcat:tomcat-catalina -DdepVersion=9.0.71 -DforceVersion=trueDetails
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.
Is GHSA-hfrx-6qgj-fp6c in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected commons-fileupload:commons-fileupload, and gives you the command that fixes it.
More advisories for commons-fileupload:commons-fileupload
- HighCVE-2025-48976Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers · 16 Jun 2025
- HighCVE-2013-2186Arbitrary file write in Apache Commons Fileupload · 14 May 2022
- LowCVE-2013-0248Incorrect Default Permissions in Apache Commons FileUpload · 5 May 2022
- CriticalCVE-2016-1000031Improper Access Control in commons-fileupload · 21 Dec 2018
- HighCVE-2014-0050Commons FileUpload Denial of service vulnerability · 21 Dec 2018
- HighCVE-2016-3092High severity vulnerability that affects commons-fileupload:commons-fileupload · 21 Dec 2018
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-24998
- Linkgithub.com/apache/commons-fileupload/commit/e20c04990f7420ca917e96a84cec58b13a1b3d17
- Linkgithub.com/apache/tomcat/commit/8a2285f13affa961cc65595aad999db5efae45ce
- Linkgithub.com/apache/tomcat/commit/9ca96c8c1eba86c0aaa2e6be581ba2a7d4d4ae6e
- Linkgithub.com/apache/tomcat/commit/cf77cc545de0488fb89e24294151504a7432df74
- Linkgithub.com/apache/tomcat/commit/d53d8e7f77042cc32a3b98f589496a1ef5088e38
- Linkwww.debian.org/security/2023/dsa-5522
- Linktomcat.apache.org/security-9.html
- Linktomcat.apache.org/security-8.html
- Linktomcat.apache.org/security-11.html
- Linktomcat.apache.org/security-10.html
- Linksecurity.netapp.com/advisory/ntap-20241108-0002
- Linksecurity.netapp.com/advisory/ntap-20230302-0013
- Linksecurity.gentoo.org/glsa/202305-37
- Linklists.debian.org/debian-lts-announce/2025/07/msg00008.html
- Linklists.debian.org/debian-lts-announce/2023/10/msg00020.html
- Linklists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- Linkgithub.com/search?q=repo%3Aapache%2Ftomcat+util.http+path%3A%2F%5Eres%5C%2Fbnd%5C%2F%2F&type=code
- Packagegithub.com/apache/commons-fileupload
- Linkcommons.apache.org/proper/commons-fileupload/security-reports.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.