Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739350 (CVE-2013-0248) - dev-java/commons-fileupload: Multiple vulnerabilities (CVE-2013-0248, CVE-2014-0050, CVE-2016-3092)
Summary: dev-java/commons-fileupload: Multiple vulnerabilities (CVE-2013-0248, CVE-201...
Alias: CVE-2013-0248
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa+ cve]
Keywords: PMASKED
Depends on:
Reported: 2020-08-28 03:23 UTC by Sam James
Modified: 2021-07-17 05:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-28 03:23:26 UTC
* CVE-2013-0248

"The default configuration of javax.servlet.context.tempdir in Apache Commons FileUpload 1.0 through 1.2.2 uses the /tmp directory for uploaded files, which allows local users to overwrite arbitrary files via an unspecified symlink attack."

* CVE-2014-0050

" 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."

* CVE-2016-3092

"The MultipartStream class in Apache Commons Fileupload before 1.3.2, as used in Apache Tomcat 7.x before 7.0.70, 8.x before 8.0.36, 8.5.x before 8.5.3, and 9.x before 9.0.0.M7 and other products, allows remote attackers to cause a denial of service (CPU consumption) via a long boundary string."
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-28 03:27:26 UTC
Given "FILEUPLOAD-279:  DiskFileItem can no longer be deserialized, unless a particular system property is set." in the release notes [0], it may be better to just bump to 1.3.3 or even 1.4.x(?)

Comment 2 Larry the Git Cow gentoo-dev 2021-05-26 12:37:18 UTC
The bug has been referenced in the following commit(s):

commit 4f74b87959645481a244bc4513bcee58ea74e663
Author:     Jakov Smolic <>
AuthorDate: 2021-05-26 09:05:10 +0000
Commit:     Sam James <>
CommitDate: 2021-05-26 12:33:33 +0000

    dev-java/commons-fileupload: Remove last-rited pkg
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Sam James <>

 dev-java/commons-fileupload/Manifest               |  1 -
 .../commons-fileupload-1.3.ebuild                  | 57 ----------------------
 .../files/0001-Remove-bogous-manifest-entry.patch  | 29 -----------
 .../files/0002-Fix-running-tests.patch             | 25 ----------
 dev-java/commons-fileupload/metadata.xml           | 19 --------
 profiles/package.mask                              |  6 ---
 6 files changed, 137 deletions(-)
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-07-17 04:04:04 UTC
GLSA request filed.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2021-07-17 05:10:01 UTC
This issue was resolved and addressed in
 GLSA 202107-39 at
by GLSA coordinator John Helmert III (ajak).