Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2014-0050 EUVD-2018-0825GHSA-xx68-jfcg-xmmf

Commons FileUpload Denial of service vulnerability

Published Mar 28, 2014 · Updated Oct 7, 2026 · Assigned by redhat

Description

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted Content-Type header that bypasses a loop's intended exit conditions.

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.

ReleasePackageFixed inAdvisory
Debian 14 libcommons-fileupload-java 1.3.1-1 —
Debian 13 libcommons-fileupload-java 1.3.1-1 —
Debian 12 libcommons-fileupload-java 1.3.1-1 —
Debian 7 libcommons-fileupload-java 1.2.2-1+deb7u2 DSA-2856-1
Debian 7 tomcat7 7.0.28-4+deb7u1 DSA-2897-1
Debian 6.0 libcommons-fileupload-java 1.2.2-1+deb6u2 DSA-2856-1
ReleasePackageFixed inAdvisory
RHEL 6 tomcat6 +8 6.0.24-64.el6_5 RHSA-2014:0429
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 2 tomcat6 +9 6.0.37-19_patch_04.ep6.el5 RHSA-2014:0525
Red Hat JBoss Web Server 2 tomcat7 +9 7.0.40-9_patch_02.ep6.el6 RHSA-2014:0526
Red Hat JBoss EAP 6 jbossweb 7.3.0-2.Final_redhat_2.1.ep6.el5 RHSA-2014:0253
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache-commons-fileupload 1.4-1.9 openSUSE-SU-2024:10620-1
openSUSE Tumbleweed tomcat 8.0.36-3.3 openSUSE-SU-2024:10446-1
openSUSE Tumbleweed tomcat10 10.1.14-1.1 openSUSE-SU-2024:13441-1

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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 1

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven commons-fileupload:commons-fileupload < 1.3.1 1.3.1 GHSA-xx68-jfcg-xmmf
Maven org.apache.tomcat:tomcat >= 8.0.0-RC1, < 8.0.3 8.0.3 GHSA-xx68-jfcg-xmmf
Maven org.apache.tomcat:tomcat >= 7.0.0, < 7.0.52 7.0.52 GHSA-xx68-jfcg-xmmf

Advisories 10

References