CVE-2014-0050 Commons FileUpload Denial of service vulnerability
Remote attackers can cause denial of service via infinite loop in Apache Commons FileUpload using crafted Content-Type headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-0050?
CVE-2014-0050 is a high-severity denial of service vulnerability in Apache Tomcat, published on 28 Mar 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2014-0050?
6 open source packages ship an affected version, including org.apache.tomcat:tomcat and commons-fileupload:commons-fileupload. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.52 |
org.apache.tomcat:tomcat Maven | From 7.0.0 | 7.0.52 |
org.apache.tomcat:tomcat Maven | From 8.0.0-RC1 | 8.0.3 |
org.apache.tomcat:tomcat Maven | From 8.0.0-RC1 | 8.0.3 |
commons-fileupload:commons-fileupload Maven | All versions | 1.3.1 |
commons-fileupload:commons-fileupload Maven | All versions | 1.3.1 |
Linux distribution packages (2)
jbossweb Red Hat:jboss_enterprise_application_platform:6::el5 | All versions | 0:7.3.0-2.Final_redhat_2.1.ep6.el5 |
jbossweb Red Hat:jboss_enterprise_application_platform:6::el6 | All versions | 0:7.3.0-2.Final_redhat_2.1.ep6.el6 |
Products include Apache Commons Fileupload, Apache Tomcat, Oracle Retail Applications.
How do I fix CVE-2014-0050?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 7.0.52 or 8.0.3.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2014-0050 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-0050 exists.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Tomcat
- CVE-2016-1000031 Improper Access Control in commons-fileupload
- CVE-2025-48976 Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers
- CVE-2023-24998 Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts
- CVE-2016-3092 High severity vulnerability that affects commons-fileupload:commons-fileupload
- CVE-2013-0248 Incorrect Default Permissions in Apache Commons FileUpload
Sources
Also known as DEBIAN-CVE-2014-0050, DSA-2856-1, GHSA-xx68-jfcg-xmmf, MGASA-2014-0109, MGASA-2014-0110, RHSA-2014:0253.