CVE-2014-0050: commons-fileupload:commons-fileupload - Denial of Service Vulnerability

Summary

21/12/2018
Yes i
High
Not published

CVE-2014-0050: Commons FileUpload Denial of service vulnerability. Affects commons-fileupload:commons-fileupload versions < 1.3.1. Fixed in 1.3.1. How to fix ↓

Also tracked for

The same CVE-2014-0050 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

commons-fileupload:commons-fileupload is a popular Java library used for handling file uploads in web applications. It is commonly used in frameworks like Apache Tomcat and JBoss Web. This library provides functionality to parse and process multipart/form-data requests. However, versions prior to 1.3.1 are vulnerable to a high severity denial of service vulnerability.

Vulnerability Detail

The vulnerability, identified as CVE-2014-0050, exists in the MultipartStream.java file of Apache Commons FileUpload. It allows remote attackers to cause a denial of service by exploiting an infinite loop and consuming excessive CPU resources. This can be achieved by sending a crafted Content-Type header that bypasses the intended exit conditions of the loop. The vulnerability was first published on December 21, 2018, and has a severity rating of HIGH. The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-20.

How To Fix

Minimum fixed version

1.3.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the fix by upgrading to a patched version of the commons-fileupload:commons-fileupload library.

Conclusion

The commons-fileupload:commons-fileupload library is vulnerable to a denial of service vulnerability that can be exploited by sending a specially crafted Content-Type header. To mitigate this issue, it is crucial to upgrade to version 1.3.1 or later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for commons-fileupload:commons-fileupload →

Share this vulnerability

FAQ

commons-fileupload:commons-fileupload is a Java library used for handling file uploads in web applications. It provides functionality to parse and process multipart/form-data requests.

Versions prior to 1.3.1 are affected by this denial of service vulnerability.

Exploiting this vulnerability can lead to a denial of service, causing the affected application to consume excessive CPU resources and become unresponsive.

No, there is no known workaround. It is recommended to upgrade to a patched version of the commons-fileupload:commons-fileupload library.

To fix this vulnerability, upgrade the commons-fileupload:commons-fileupload package to version 1.3.1 or later.

References

View More

Related vulnerabilities

Recent vulnerabilities recorded for commons-fileupload:commons-fileupload.

How To Fix

Minimum fixed version

1.3.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback