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

Published Feb 20, 2023
·
Updated

A flaw was found in Apache Commons FileUpload, where it does not limit the number of parts being processed in a request. This issue may allow an attacker to use a malicious upload or series of uploads to trigger a denial of service. While Red Hat Satellite relies upon Apache Tomcat, it does not directly ship it. Tomcat is shipped with Red Hat Enterprise Linux and consumed by the Candlepin component of Satellite. Red Hat Satellite users are therefore advised to check the impact state of Red Hat Enterprise Linux, since any necessary fixes will be distributed through the platform.

Other sources

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.

— Red Hat

Affected Software

37 affected componentsFixes available
redhat/jenkins<0:2.387.3.1684911776-3.el8
0:2.387.3.1684911776-3.el8
redhat/jws5-tomcat<0:9.0.62-15.redhat_00013.1.el7
0:9.0.62-15.redhat_00013.1.el7
redhat/jws5-tomcat<0:9.0.62-15.redhat_00013.1.el8
0:9.0.62-15.redhat_00013.1.el8
redhat/jws5-tomcat<0:9.0.62-15.redhat_00013.1.el9
0:9.0.62-15.redhat_00013.1.el9
Apache Commons Fileupload>=1.0<1.5
Apache Commons Fileupload=1.0-beta
maven/org.apache.tomcat.embed:tomcat-embed-core>=9.0.0-M1<9.0.71
9.0.71
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>=11.0.0-M2<11.0.0-M5
11.0.0-M5
maven/org.apache.tomcat.embed:tomcat-embed-core>=10.1.0-M1<10.1.5
10.1.5
maven/org.apache.tomcat:tomcat-coyote>=9.0.0-M1<9.0.71
9.0.71
maven/org.apache.tomcat:tomcat-coyote>=8.5.85<8.5.88
8.5.88
maven/org.apache.tomcat:tomcat-coyote>=11.0.0-M2<11.0.0-M5
11.0.0-M5
maven/org.apache.tomcat:tomcat-coyote>=10.1.0-M1<10.1.5
10.1.5
maven/commons-fileupload:commons-fileupload<1.5
1.5
F5 BIG-IP (APM)>=17.5.0<=17.5.1, >=17.0.0<=17.1.2
17.5.1.117.1.3
F5 BIG-IP (APM)>=16.1.0<=16.1.6
F5 BIG-IP (APM)>=15.1.0<=15.1.10
F5 BIG-IP (APM)>=14.1.0<=14.1.5
F5 BIG-IP (APM)>=13.1.0<=13.1.5
F5 Traffix SDC=5.2.0, =5.1.0
IBM InfoSphere Data Architect<=9.2.1
redhat/commons-fileupload<1.5
1.5
Debian Debian Linux=9.0
Debian Debian Linux=11.0
debian/libcommons-fileupload-java
1.4-1+deb11u11.4-2
debian/tomcat10
10.1.5-1
debian/tomcat9
9.0.31-1~deb10u99.0.43-2~deb11u79.0.70-2
maven/org.apache.tomcat:tomcat-catalina>=9.0.0-M1<9.0.71
9.0.71
maven/org.apache.tomcat:tomcat-catalina>=8.5.85<8.5.88
8.5.88
maven/org.apache.tomcat:tomcat-catalina>=11.0.0-M2<11.0.0-M5
11.0.0-M5
maven/org.apache.tomcat:tomcat-catalina>=10.1.0-M1<10.1.5
10.1.5
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*
ubuntu/libcommons-fileupload-java*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.387.3.1684911776-3.el8
  2. Upgrade

    Upgrade redhat/jws5-tomcat to a version that resolves this vulnerability.

    Fixed in 0:9.0.62-15.redhat_00013.1.el7
  3. Upgrade

    Upgrade redhat/jws5-tomcat to a version that resolves this vulnerability.

    Fixed in 0:9.0.62-15.redhat_00013.1.el8
  4. Upgrade

    Upgrade redhat/jws5-tomcat to a version that resolves this vulnerability.

    Fixed in 0:9.0.62-15.redhat_00013.1.el9
  5. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 9.0.71
  6. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 8.5.88
  7. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 11.0.0-M5
  8. Upgrade

    Upgrade maven/org.apache.tomcat.embed:tomcat-embed-core to a version that resolves this vulnerability.

    Fixed in 10.1.5
  9. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-coyote to a version that resolves this vulnerability.

    Fixed in 9.0.71
  10. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-coyote to a version that resolves this vulnerability.

    Fixed in 8.5.88
  11. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-coyote to a version that resolves this vulnerability.

    Fixed in 11.0.0-M5
  12. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-coyote to a version that resolves this vulnerability.

    Fixed in 10.1.5
  13. Upgrade

    Upgrade maven/commons-fileupload:commons-fileupload to a version that resolves this vulnerability.

    Fixed in 1.5
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.5.1.117.1.3
  15. Upgrade

    Upgrade redhat/commons-fileupload to a version that resolves this vulnerability.

    Fixed in 1.5
  16. Upgrade

    Upgrade debian/libcommons-fileupload-java to a version that resolves this vulnerability.

    Fixed in 1.4-1+deb11u1Fixed in 1.4-2
  17. Upgrade

    Upgrade debian/tomcat10 to a version that resolves this vulnerability.

    Fixed in 10.1.5-1
  18. Upgrade

    Upgrade debian/tomcat9 to a version that resolves this vulnerability.

    Fixed in 9.0.31-1~deb10u9Fixed in 9.0.43-2~deb11u7Fixed in 9.0.70-2
  19. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 9.0.71
  20. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 8.5.88
  21. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 11.0.0-M5
  22. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 10.1.5
  23. Configuration

    Configure Apache Commons FileUpload to limit the number of request parts using the new configuration option FileUploadBase#setFileCountMax (it is not enabled by default).

    Apache Commons FileUpload (Apache Tomcat integration) FileUploadBase#setFileCountMax = explicitly configure (set a maximum file part count)

Event History

Feb 20, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:57 PM
Data Sourced
via MITRE·03:57 PM
DescriptionWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Advisory Published
06:30 PM
Mar 17, 2023
Advisory Published
via F5·09:44 PM
Data Sourced
via F5·09:44 PM
DescriptionSeverityWeaknessAffected Software
Mar 29, 2023
Exploit Published
via GitHub·01:36 AM
May 11, 2023
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jun 26, 2023
Updated
12:00 AM
Affected Software
Jul 5, 2023
Updated
12:00 AM
Affected Software
Sep 7, 2023
Updated
12:00 AM
Affected Software
Nov 14, 2023
Data Sourced
via Red Hat·04:51 PM
DescriptionSeverityAffected Software
Feb 16, 2024
Data Sourced
via NVD·07:11 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:11 PM
Affected Software
Feb 28, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Mar 11, 2024
Advisory Published
via GitHub·05:42 PM
Data Sourced
via GitHub·05:42 PM
DescriptionSeverityWeaknessAffected Software
Updated
via GitHub·05:42 PM
Affected Software
Apr 18, 2024
Updated
via GitHub·05:14 PM
Affected Software
Jun 27, 2024
Updated
via IBM·12:00 AM
Affected Software
Dec 3, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 13, 2025
Updated
via NVD·05:16 PM
DescriptionAffected Software
Aug 19, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Sep 12, 2025
Updated
via F5·12:42 AM
Affected Software
Oct 14, 2025
Updated
via F5·05:16 PM
Affected Software
Nov 3, 2025
Updated
via MITRE·07:28 PM
Description
Updated
via NVD·08:16 PM
Affected Software
Mar 4, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jun 18, 2026
Updated
via GitHub·08:19 PM
Affected Software
Oct 7, 2026
Updated
via NVD·05:16 PM
Severity
Updated
via NVD·05:16 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2023-24998.

2

What is the severity of CVE-2023-24998?

The severity of CVE-2023-24998 is high.

3

What is the impact of CVE-2023-24998?

CVE-2023-24998 can allow an attacker to use a malicious upload or series of uploads to trigger a denial of service.

4

How can I fix CVE-2023-24998 for Apache Commons FileUpload?

To fix CVE-2023-24998 for Apache Commons FileUpload, upgrade to version 1.5.

5

How can I fix CVE-2023-24998 for IBM Sterling Secure Proxy?

To fix CVE-2023-24998 for IBM Sterling Secure Proxy, apply the relevant patch from IBM.

6

How can I fix CVE-2023-24998 for Red Hat Satellite?

CVE-2023-24998 does not directly affect Red Hat Satellite.

7

Where can I find more information about CVE-2023-24998?

You can find more information about CVE-2023-24998 at the following references: [CVE-2023-24998](https://www.cve.org/CVERecord?id=CVE-2023-24998), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-24998), [Apache Commons FileUpload Security Reports](https://commons.apache.org/proper/commons-fileupload/security-reports.html#Fixed_in_Apache_Commons_FileUpload_1.5), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2172298), [Red Hat Errata](https://access.redhat.com/errata/RHSA-2023:3299).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203