Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons FileUpload | < 1.5 | 1.5 |
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1, 10.0.0-M1 – ≤ 10.1.4, 9.0.0-M1 – ≤ 9.0.70, 8.5.0 – ≤ 8.5.84 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libcommons-fileupload-java | 1.4-2 | — |
| Debian 14 | tomcat10 | 10.1.5-1 | — |
| Debian 14 | tomcat9 | 9.0.70-2 | — |
| Debian 13 | libcommons-fileupload-java | 1.4-2 | — |
| Debian 13 | tomcat10 | 10.1.5-1 | — |
| Debian 13 | tomcat9 | 9.0.70-2 | — |
| Debian 12 | libcommons-fileupload-java | 1.4-2 | — |
| Debian 12 | tomcat10 | 10.1.5-1 | — |
| Debian 12 | tomcat9 | 9.0.70-2 | — |
| Debian 11 | libcommons-fileupload-java | 1.4-1+deb11u1 | DLA-4245-1 |
| Debian 11 | tomcat9 | 9.0.43-2~deb11u7 | DSA-5522-1 |
| Debian 10 | tomcat9 | 9.0.31-1~deb10u9 | DLA-3617-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 26.04 LTS | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 25.10 | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 24.04 LTS | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 22.04 LTS | libcommons-fileupload-java | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 18.04 LTS | libcommons-fileupload-java | No fix yet | — |
| Ubuntu 16.04 LTS | libcommons-fileupload-java | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | tomcat +7 | 1:9.0.62-37.el9_3 | RHSA-2023:6570 |
| RHEL 8 | tomcat +7 | 1:9.0.62-27.el8_9 | RHSA-2023:7065 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.8 EUS | tomcat +7 | 1:9.0.87-1.el8_8.2 | RHSA-2024:3814 |
| Red Hat Ocp Tools 4 | jenkins | 2.387.3.1684911776-3.el8 | RHSA-2023:3299 |
| Red Hat Ocp Tools 4 | jenkins-2-plugins | 4.13.1684911916-1.el8 | RHSA-2023:3299 |
| Red Hat JBoss Web Server 5 | jws5-tomcat +11 | 9.0.62-15.redhat_00013.1.el7jws | RHSA-2023:4909 |
| Red Hat JBoss Web Server 5 | jws5-tomcat-native | 1.2.31-15.redhat_15.el7jws | RHSA-2023:4909 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | tomcat +7 | 1:9.0.62-37.el9_3 | ALSA-2023:6570 |
| AlmaLinux 8 | tomcat +7 | 1:9.0.62-27.el8_9 | ALSA-2023:7065 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES 15 SP5 | tomcat | 9.0.75-150200.41.1 | SUSE-SU-2023:2505-1 |
| SLES 15 SP4 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES 15 SP4 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLES 15 SP3 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES 15 SP3 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLES 15 SP2 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES 15 SP2 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLES 15 SP1 | jakarta-commons-fileupload | 1.1.1-150000.4.8.1 | SUSE-SU-2023:0730-1 |
| SLES 15 SP1 | tomcat | 9.0.36-150100.4.87.1 | SUSE-SU-2023:0697-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SLES 12 SP5 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2026:1058-1, SUSE-SU-2023:0696-1 |
| SLES 12 SP4 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SLES 12 SP4 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| SLES 12 SP2 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SLES 12 SP2 | tomcat | 8.0.53-29.63.1 | SUSE-SU-2023:0695-1 |
| SLES for SAP 15 SP3 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES for SAP 15 SP3 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLES for SAP 15 SP2 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLES for SAP 15 SP2 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLES for SAP 15 SP1 | jakarta-commons-fileupload | 1.1.1-150000.4.8.1 | SUSE-SU-2023:0730-1 |
| SLES for SAP 15 SP1 | tomcat | 9.0.36-150100.4.87.1 | SUSE-SU-2023:0697-1 |
| SLES for SAP 12 SP5 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SLES for SAP 12 SP5 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| SLES for SAP 12 SP4 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SLES for SAP 12 SP4 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| SLE HPC 15 SP3 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLE HPC 15 SP3 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLE HPC 15 SP2 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SLE HPC 15 SP2 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SLE HPC 15 SP1 | jakarta-commons-fileupload | 1.1.1-150000.4.8.1 | SUSE-SU-2023:0730-1 |
| SLE HPC 15 SP1 | tomcat | 9.0.36-150100.4.87.1 | SUSE-SU-2023:0697-1 |
| SUSE OpenStack Cloud Crowbar 9 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SUSE OpenStack Cloud Crowbar 9 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| SUSE OpenStack Cloud 9 | jakarta-commons-fileupload | 1.1.1-122.8.1 | SUSE-SU-2023:0758-1 |
| SUSE OpenStack Cloud 9 | tomcat | 9.0.36-3.99.1 | SUSE-SU-2023:0696-1 |
| SUSE Manager Server 4.2 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SUSE Manager Server 4.2 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SUSE Enterprise Storage 7.1 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SUSE Enterprise Storage 7.1 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
| SUSE Enterprise Storage 7 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| SUSE Enterprise Storage 7 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | apache-commons-fileupload | 1.5-1.1 | openSUSE-SU-2024:12950-1 |
| openSUSE Tumbleweed | tomcat | 9.0.43-14.1 | openSUSE-SU-2024:12750-1 |
| openSUSE Tumbleweed | tomcat10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| openSUSE Leap 15.5 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| openSUSE Leap 15.5 | tomcat | 9.0.75-150200.41.1 | SUSE-SU-2023:2505-1 |
| openSUSE Leap 15.4 | apache-commons-fileupload | 1.5-150200.3.9.1 | SUSE-SU-2023:2390-1 |
| openSUSE Leap 15.4 | jakarta-commons-fileupload | 1.1.1-150000.4.8.1 | SUSE-SU-2023:0730-1 |
| openSUSE Leap 15.4 | tomcat | 9.0.43-150200.35.1 | SUSE-SU-2023:2505-1, SUSE-SU-2023:1769-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | tomcat +9 | 7.0.76-10.amzn2.0.9 | ALAS2-2024-2517 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | tomcat +7 | 1:9.0.62-37.el9_3 | ELSA-2023-6570 |
| Oracle Linux 8 | tomcat +7 | 1:9.0.62-27.el8_9 | ELSA-2023-7065 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
nice1st/CVE-2023-24998 ★ 4 · Mar 29, 2023
Apache Commons FileUpload 보안 취약점 테스트
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
Advisories 50
- ALSA-2023:6570 Moderate: tomcat security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7065 Moderate: tomcat security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:3814 Red Hat Security Advisory: tomcat security and bug fix update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:3299 Red Hat Security Advisory: jenkins and jenkins-2-plugins security update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- RHSA-2023:7065 Red Hat Security Advisory: tomcat security and bug fix update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2023:6570 Red Hat Security Advisory: tomcat security and bug fix update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2023:4909 Red Hat Security Advisory: Red Hat JBoss Web Server 5.7.4 release and security update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2023-1142 Red Hat Integration Camel for Spring Boot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2026-1608 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 19, 2026
- WID-SEC-2024-0054 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2026
- WID-SEC-2024-1637 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- WID-SEC-2026-0915 Kyocera Drucker: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- SUSE-SU-2026:1058-1 Security update for tomcat SUSE / openSUSE Security Updates · Mar 27, 2026
- WID-SEC-2023-0433 Apache Commons und Apache Tomcat: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Mar 26, 2026
- DLA-4245-1 libcommons-fileupload-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5522-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3617-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:2390-1 Security update for apache-commons-fileupload SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:1769-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12750-1 tomcat-9.0.43-14.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0697-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12950-1 apache-commons-fileupload-1.5-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0696-1 Security update for tomcat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0758-1 Security update for jakarta-commons-fileupload SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13441-1 tomcat10-10.1.14-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0730-1 Security update for jakarta-commons-fileupload SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1424 Xerox FreeFlow Print Server für Solaris: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- WID-SEC-2023-2625 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 6, 2025
- SUSE-SU-2023:2505-1 Security update for tomcat SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:0695-1 Security update for tomcat SUSE / openSUSE Security Updates · May 2, 2025
- NCSC-2025-0129 Kwetsbaarheden verholpen in Oracle Analytics NCSC-NL (Netherlands) · Apr 16, 2025
- WID-SEC-2025-0810 Oracle Retail Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 15, 2025
- NCSC-2025-0028 Kwetsbaarheden verholpen in Oracle Analytics NCSC-NL (Netherlands) · Jan 22, 2025
- WID-SEC-2024-1642 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 20, 2024
- NCSC-2024-0306 Kwetsbaarheden verholpen in Oracle Supply Chain NCSC-NL (Netherlands) · Jul 17, 2024
- NCSC-2024-0298 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jul 17, 2024
- NCSC-2024-0294 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Jul 17, 2024
- WID-SEC-2024-1622 Oracle Commerce: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2024
- WID-SEC-2024-1652 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 16, 2024
- WID-SEC-2023-1794 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 30, 2024
- WID-SEC-2024-1238 HPE HP-UX: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 27, 2024
- WID-SEC-2024-0890 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024
- WID-SEC-2024-0888 Oracle Systems: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024
- ALAS2-2024-2517 Important: tomcat security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 15, 2024
- WID-SEC-2023-0609 Jenkins: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 11, 2024
- WID-SEC-2024-0124 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0117 Oracle Retail Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2023-1016 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023