A flaw was found in Apache Commons FileUpload. Specially-crafted input could trigger a denial of service if the buffer used by the MultipartStream was not big enough. Tomcat 7 includes an embedded copy of Apache Commons FileUpload, so it was possible to craft a malformed Content-Type header for a multipart request which would cause Tomcat to enter an infinite loop. This has been corrected in Tomcat 7 via commit r1565169 [1]. It has been corrected in Apache Commons FileUpload via commit r1565143 [2]. No new releases have been made with the changes; Tomcat 7.0.51 (not yet released) will correct this flaw. [1] http://svn.apache.org/viewvc?view=revision&revision=1565169 [2] http://svn.apache.org/viewvc?view=revision&revision=1565143
As per this posting: http://seclists.org/fulldisclosure/2014/Feb/41 it is possible to mitigate this issue by limiting the size of the Content-Type header to less than 4091 bytes.
Created apache-commons-fileupload tracking bugs for this issue: Affects: fedora-all [bug 1064675]
Created tomcat tracking bugs for this issue: Affects: fedora-all [bug 1064673]
*** Bug 1065228 has been marked as a duplicate of this bug. ***
apache-commons-fileupload-1.3-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
apache-commons-fileupload-1.3-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
This issue has been addressed in following products: JBEAP 6.2 for RHEL 5 JBEAP 6.2 for RHEL 6 Via RHSA-2014:0253 https://rhn.redhat.com/errata/RHSA-2014-0253.html
This issue has been addressed in following products: Red Hat JBoss Enterprise Application Platform 6.2.1 Via RHSA-2014:0252 https://rhn.redhat.com/errata/RHSA-2014-0252.html
This issue has been addressed in following products: Red Hat JBoss BRMS 6.0.1 Red Hat JBoss BPM Suite 6.0.1 Via RHSA-2014:0373 https://rhn.redhat.com/errata/RHSA-2014-0373.html
This issue has been addressed in following products: Red Hat JBoss AM-Q 6.1.0 Via RHSA-2014:0401 https://rhn.redhat.com/errata/RHSA-2014-0401.html
This issue has been addressed in following products: Red Hat JBoss Fuse 6.1.0 Via RHSA-2014:0400 https://rhn.redhat.com/errata/RHSA-2014-0400.html
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2014:0429 https://rhn.redhat.com/errata/RHSA-2014-0429.html
This issue has been addressed in following products: Fuse ESB Enterprise/MQ Enterprise 7.1.0 R1 P3 Via RHSA-2014:0452 https://rhn.redhat.com/errata/RHSA-2014-0452.html
This issue has been addressed in following products: Red Hat JBoss Fuse Service Works 6.0.0 Via RHSA-2014:0459 https://rhn.redhat.com/errata/RHSA-2014-0459.html
This issue has been addressed in following products: Red Hat JBoss Operations Network 3.2.1 Via RHSA-2014:0473 https://rhn.redhat.com/errata/RHSA-2014-0473.html
This issue has been addressed in following products: JBoss Enterprise Web Server 2.0.1 Via RHSA-2014:0528 https://rhn.redhat.com/errata/RHSA-2014-0528.html
This issue has been addressed in following products: JBoss Enterprise Web Server 2.0.1 Via RHSA-2014:0527 https://rhn.redhat.com/errata/RHSA-2014-0527.html
This issue has been addressed in following products: JBEWS 2 for RHEL 5 JBEWS 2 for RHEL 6 Via RHSA-2014:0525 https://rhn.redhat.com/errata/RHSA-2014-0525.html
This issue has been addressed in following products: JBEWS 2 for RHEL 5 JBEWS 2 for RHEL 6 Via RHSA-2014:0526 https://rhn.redhat.com/errata/RHSA-2014-0526.html
This issue has been addressed in the following products: JBoss Portal 6.2.0 Via RHSA-2015:1009 https://rhn.redhat.com/errata/RHSA-2015-1009.html