CVE-2023-24998Apache Commons Fileupload
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Commons Fileupload We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 7.7% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Feb 20, 2023
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Commons Fileupload.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | commons-fileupload:commons-fileupload |
< 1.5 |
1.5 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 10.1.0-M1 < 10.1.5 |
10.1.5 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 11.0.0-M2 < 11.0.0-M5 |
11.0.0-M5 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 8.5.85 < 8.5.88 |
8.5.88 |
— |
| Maven | org.apache.tomcat.embed:tomcat-embed-core |
≥ 9.0.0-M1 < 9.0.71 |
9.0.71 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 10.1.0-M1 < 10.1.5 |
10.1.5 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 11.0.0-M2 < 11.0.0-M5 |
11.0.0-M5 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 8.5.85 < 8.5.88 |
8.5.88 |
— |
| Maven | org.apache.tomcat:tomcat-catalina |
≥ 9.0.0-M1 < 9.0.71 |
9.0.71 |
— |
| Maven | org.apache.tomcat:tomcat-coyote |
≥ 10.1.0-M1 < 10.1.5 |
10.1.5 |
— |
| Maven | org.apache.tomcat:tomcat-coyote |
≥ 11.0.0-M2 < 11.0.0-M5 |
11.0.0-M5 |
— |
| Maven | org.apache.tomcat:tomcat-coyote |
≥ 8.5.85 < 8.5.88 |
8.5.88 |
— |
| Maven | org.apache.tomcat:tomcat-coyote |
≥ 9.0.0-M1 < 9.0.71 |
9.0.71 |
— |
Per OSV / GitHub Advisories (GHSA-hfrx-6qgj-fp6c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_fileupload | ≥ 1.0 < 1.5 |
| apache | commons_fileupload | 1.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 11.0 |
Official advisories
- Security update for tomcat · SUSE · SUSE-SU-2026:1058-1 · Mar 26, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- lists.apache.org Mailing List Vendor Advisory
- lists.debian.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory
- lists.debian.org
- security.netapp.com
- security.netapp.com