CVEfocus › CVE database › CVE-2023-24998

CVE-2023-24998Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts

CVSS 7.5 HighEPSS 7.7% (higher than 95% of CVEs)Published 2023-02-20Updated 2026-10-07Assigner: apache

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.

CWE-770

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

45Fixed
11Fix pending
3Under investigation
19Will not fix
1Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libcommons-fileupload-javaFix pendingUBUNTU-CVE-2023-24998
Ubuntu 26.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2023-24998
Ubuntu 25.10libcommons-fileupload-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24998
Ubuntu 24.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2023-24998
Ubuntu 22.04libcommons-fileupload-javaUnder investigationUBUNTU-CVE-2023-24998
Ubuntu 20.04libcommons-fileupload-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24998
Ubuntu 18.04libcommons-fileupload-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24998
Ubuntu 16.04libcommons-fileupload-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-24998
Ubuntu 14.04libcommons-fileupload-javaWill not fix
Ubuntu decided not to fix this in this release
Debian 14libcommons-fileupload-javaFixed1.4-2DEBIAN-CVE-2023-24998
Debian 14tomcat10Fixed10.1.5-1DEBIAN-CVE-2023-24998
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-24998
Debian 13libcommons-fileupload-javaFixed1.4-2DEBIAN-CVE-2023-24998
Debian 13tomcat10Fixed10.1.5-1DEBIAN-CVE-2023-24998
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-24998
Debian 12libcommons-fileupload-javaFixed1.4-2DEBIAN-CVE-2023-24998
Debian 12tomcat10Fixed10.1.5-1DEBIAN-CVE-2023-24998
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2023-24998
Red Hat Enterprise Linux 9pki-servlet-4.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 9pki-servlet-engineWill not fix
Will not fix
Red Hat Enterprise Linux 9tomcatFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.62-37.el9_3RHSA-2023:6570
Red Hat Enterprise Linux 8pki-servlet-4.0-apiWill not fix
Will not fix
Red Hat Enterprise Linux 8pki-servlet-containerNot affected
Red Hat Enterprise Linux 8pki-servlet-engineWill not fix
Will not fix
Red Hat Enterprise Linux 8tomcatFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.62-27.el8_9RHSA-2023:7065
Red Hat Enterprise Linux 7tomcatFix pending
Affected
Red Hat Enterprise Linux 7tomcat-admin-webappsFix pending
Affected
Red Hat Enterprise Linux 7tomcat-docs-webappFix pending
Affected
Red Hat Enterprise Linux 7tomcat-el-2.2-apiFix pending
Affected
Red Hat Enterprise Linux 7tomcat-javadocFix pending
Affected
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiFix pending
Affected
Red Hat Enterprise Linux 7tomcat-jsvcFix pending
Affected
Red Hat Enterprise Linux 7tomcat-libFix pending
Affected
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiFix pending
Affected
Red Hat Enterprise Linux 7tomcat-webappsFix pending
Affected
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
AlmaLinux 9tomcatFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-admin-webappsFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-docs-webappFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-el-3.0-apiFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-jsp-2.3-apiFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-libFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-servlet-4.0-apiFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 9tomcat-webappsFixed1:9.0.62-37.el9_3ALSA-2023:6570
AlmaLinux 8tomcatFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-docs-webappFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-libFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.62-27.el8_9ALSA-2023:7065
AlmaLinux 8tomcat-webappsFixed1:9.0.62-27.el8_9ALSA-2023:7065
Maven librarycommons-fileupload:commons-fileuploadFixed1.5GHSA-hfrx-6qgj-fp6c
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed11.0.0-M5GHSA-hfrx-6qgj-fp6c
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed11.0.0-M5GHSA-hfrx-6qgj-fp6c
Maven libraryorg.apache.tomcat:tomcat-coyoteFixed11.0.0-M5GHSA-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.

Vendor advisories:

References

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.