Patchfirst
CVE-2014-0050 Public exploit High · 7.5 EPSS 83.3%

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other…

Fix:upgrade tomcat to 8.0.3 or later Details ↓

Summary

A flaw in MultipartStream.java within Apache Commons FileUpload prior to version 1.3.1, as used in products such as Apache Tomcat and JBoss Web, causes a loop whose intended exit conditions can be bypassed. An attacker with remote network access can send a crafted Content-Type header that drives the loop into an infinite state, consuming CPU and denying service, with no authentication or user interaction required.

Official description · CVE.org

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.

Breakdown
30.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 50 days before disclosure.

  1. Public exploit codeMetasploit50 days before
  2. Disclosedday 0

techniques

No techniques linked

No high- or medium-confidence techniques. The 1 available link are lower confidence and listed below.

Lower-confidence links (1)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploit Public-Facing ApplicationT1190 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. Main package: org.apache.tomcat:tomcat.

Mavenorg.apache.tomcat:tomcatGHSA-xx68-jfcg-xmmf

Upgrade to 8.0.3 or later

Set the version to 8.0.3 or later in your pom.xml or build.gradle.

The first fix for CVE-2014-0050.

Affected versions, by release line

If you runUpgrade to
8.0.0-RC1 up to 8.0.38.0.3
7.0.0 up to 7.0.527.0.105first fix for this CVE: 7.0.52

“Up to” means the second version is the fix and is not affected.

Other packages that bundle this code (1)

Forks, repackagings and products that include the affected code. Each has its own fixed version.

  • Mavencommons-fileupload:commons-fileupload
    Affected: All versions before 1.3.1Upgrade to 1.3.1 or later

Check your lockfile against all CVEs

References

69 links, grouped by NVD tag

x_refsource_CONFIRM 36

vmware.com/security/advisories/VMSA-2014-0008.htmlwww-01.ibm.com/support/docview.wss?uid=swg21676656bugzilla.redhat.com/show_bug.cgi?id=1062337www-01.ibm.com/support/docview.wss?uid=swg21677691www-01.ibm.com/support/docview.wss?uid=swg21676401vmware.com/security/advisories/VMSA-2014-0012.htmlwww-01.ibm.com/support/docview.wss?uid=swg21676853www-01.ibm.com/support/docview.wss?uid=swg21676092
Show 28 moreShow fewerwww-01.ibm.com/support/docview.wss?uid=swg21681214vmware.com/security/advisories/VMSA-2014-0007.htmlsvn.apache.org/r1565143oracle.com/technetwork/topics/security/cpuoct2015-2367953.htmlh20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05376917advisories.mageia.org/MGASA-2014-0110.htmlh20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-017/index.htmloracle.com/technetwork/topics/security/cpujan2016-2367955.htmlwww-01.ibm.com/support/docview.wss?uid=swg21676410www-01.ibm.com/support/docview.wss?uid=swg21676405tomcat.apache.org/security-7.htmloracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmloracle.com/technetwork/topics/security/cpujan2015-1972971.htmltomcat.apache.org/security-8.htmloracle.com/technetwork/topics/security/cpuapr2015-2365600.htmlwww-01.ibm.com/support/docview.wss?uid=swg21676403oracle.com/technetwork/security-advisory/cpuoct2017-3236626.htmlhuawei.com/en/security/psirt/security-bulletins/security-advisories/hw-350733.htmoracle.com/technetwork/topics/security/cpujul2014-1972956.htmlh20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722www-01.ibm.com/support/docview.wss?uid=swg21675432oracle.com/technetwork/topics/security/cpuoct2014-1972960.htmlwww-01.ibm.com/support/docview.wss?uid=swg21676091hitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-015/index.htmlhitachi.co.jp/Prod/comp/soft1/global/security/info/vuls/HS14-016/index.htmlwww-01.ibm.com/support/docview.wss?uid=swg21677724www-01.ibm.com/support/docview.wss?uid=swg21669554
↑ ↓ chooseEnter openEsc close