CVE-2023-24998Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts
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
Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libcommons-fileupload-java | Fix pending | UBUNTU-CVE-2023-24998 | |
| Ubuntu 26.04 | libcommons-fileupload-java | Under investigation | UBUNTU-CVE-2023-24998 | |
| Ubuntu 25.10 | libcommons-fileupload-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-24998 | |
| Ubuntu 24.04 | libcommons-fileupload-java | Under investigation | UBUNTU-CVE-2023-24998 | |
| Ubuntu 22.04 | libcommons-fileupload-java | Under investigation | UBUNTU-CVE-2023-24998 | |
| Ubuntu 20.04 | libcommons-fileupload-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-24998 | |
| Ubuntu 18.04 | libcommons-fileupload-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-24998 | |
| Ubuntu 16.04 | libcommons-fileupload-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-24998 | |
| Ubuntu 14.04 | libcommons-fileupload-java | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | libcommons-fileupload-java | Fixed | 1.4-2 | DEBIAN-CVE-2023-24998 |
| Debian 14 | tomcat10 | Fixed | 10.1.5-1 | DEBIAN-CVE-2023-24998 |
| Debian 14 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-24998 |
| Debian 13 | libcommons-fileupload-java | Fixed | 1.4-2 | DEBIAN-CVE-2023-24998 |
| Debian 13 | tomcat10 | Fixed | 10.1.5-1 | DEBIAN-CVE-2023-24998 |
| Debian 13 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-24998 |
| Debian 12 | libcommons-fileupload-java | Fixed | 1.4-2 | DEBIAN-CVE-2023-24998 |
| Debian 12 | tomcat10 | Fixed | 10.1.5-1 | DEBIAN-CVE-2023-24998 |
| Debian 12 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-24998 |
| Red Hat Enterprise Linux 9 | pki-servlet-4.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | pki-servlet-engine | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | tomcat | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-admin-webapps | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-docs-webapp | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-el-3.0-api | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-lib | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 9 | tomcat-webapps | Fixed | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | pki-servlet-container | Not affected | ||
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | tomcat | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-admin-webapps | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-docs-webapp | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-el-3.0-api | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-lib | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 8 | tomcat-webapps | Fixed | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
| Red Hat Enterprise Linux 7 | tomcat | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | tomcat6 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Will not fix Out of support scope | ||
| AlmaLinux 9 | tomcat | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-admin-webapps | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-docs-webapp | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-el-3.0-api | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-lib | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 9 | tomcat-webapps | Fixed | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 8 | tomcat | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-admin-webapps | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-docs-webapp | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-el-3.0-api | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-lib | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| AlmaLinux 8 | tomcat-webapps | Fixed | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
| Maven library | commons-fileupload:commons-fileupload | Fixed | 1.5 | GHSA-hfrx-6qgj-fp6c |
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 11.0.0-M5 | GHSA-hfrx-6qgj-fp6c |
| Maven library | org.apache.tomcat:tomcat-catalina | Fixed | 11.0.0-M5 | GHSA-hfrx-6qgj-fp6c |
| Maven library | org.apache.tomcat:tomcat-coyote | Fixed | 11.0.0-M5 | GHSA-hfrx-6qgj-fp6c |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Commons FileUpload: affected: before 1.5; fixed in
1.5 - Apache Software Foundation Apache Tomcat: affected: 11.0.0-M1, 10.0.0-M1 to 10.1.4, 9.0.0-M1 to 9.0.70, 8.5.0 to 8.5.84
Vendor advisories:
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy (vendor-advisory)
References
- https://lists.apache.org/thread/4xl4l09mhwg4vgsk7dxqogcjrobrrdoy
- http://www.openwall.com/lists/oss-security/2023/05/22/1
- https://security.gentoo.org/glsa/202305-37
- https://www.debian.org/security/2023/dsa-5522
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.