CVE-2013-2186 in the critical feed json
Arbitrary file write in Apache Commons Fileupload
published 2013-10-28 13 y ago modified 2026-06-16 4 mo ago also GHSA-qx6h-9567-5fqw , EUVD-2022-5056
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.7%
- EPSS 12.7% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
The DiskFileItem class in Apache Commons FileUpload, as used in Red Hat JBoss BRMS 5.3.1; JBoss Portal 4.3 CP07, 5.2.2, and 6.0.0; and Red Hat JBoss Web Server 1.0.2 allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance.
Patch / fix
- maven commons-fileupload:commons-fileupload 1.3.1
- libcommons-fileupload-java Debian 14, Debian 13, Debian 12 1.3-2.1
debian advisories DEBIAN-CVE-2013-2186
- jenkins openshift 3.1 1.625.3-2.el7aos
- heapster openshift 3.1 0.18.2-3.gitaf4752e.el7aos
- nodejs-rc openshift 3.1 1.1.2-1.el7aos
- nodejs-got openshift 3.1 5.2.1-1.el7aos
- nodejs-ini openshift 3.1 1.1.0-6.el7aos
- nodejs-from openshift 3.1 0.1.3-2.el7aos
- nodejs-uuid openshift 3.1 2.0.1-1.el7aos
- nss_wrapper openshift 3.1 1.0.3-1.el7
red hat advisories RHSA-2016:0070RHSA-2013:1428
- apache-commons-fileupload openSUSE Tumbleweed 1.4-1.9
opensuse advisories openSUSE-SU-2024:10620-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-2186 updated cvss 7.5
commons-fileupload: Arbitrary file upload via deserialization
-
Red Hat JBoss BRMS 5 commons-fileupload Red Hat JBoss Operations Network 3 commons-fileupload Red Hat JBoss Portal 4 commons-fileupload Red Hat JBoss Portal 5 commons-fileupload Red Hat JBoss Portal 6 commons-fileupload Red Hat JBoss SOA Platform 4 commons-fileuploadaffected: no fix available
+1 more productsfewer
Red Hat JBoss SOA Platform 5 commons-fileupload -
Red Hat JBoss Enterprise BRMS Platform 5.3fixed: vendor fix RHSA-2013:1430
-
Red Hat JBoss Enterprise Web Server 1 for RHEL 5 Server jakarta-commons-fileupload 1.1.1-7.7.ep5.el5 Red Hat JBoss Enterprise Web Server 1 for RHEL 6 Server jakarta-commons-fileupload 1.1.1-7.7.ep5.el6fixed: vendor fix RHSA-2013:1428
-
Red Hat JBoss Operations Network 3.1fixed: vendor fix RHSA-2013:1448
-
Red Hat JBoss Portal 4.3 Red Hat JBoss Portal 5.2 Red Hat JBoss Portal Platform 6.0fixed: vendor fix RHSA-2013:1430
-
Red Hat JBoss SOA Platform 4.3 Red Hat JBoss SOA Platform 5.3fixed: vendor fix RHSA-2013:1442
-
Red Hat JBoss Web Server 1.0fixed: vendor fix RHSA-2013:1429
-
Red Hat OpenShift Enterprise 3.1 nss_wrapper 1.0.3-1.el7, openvswitch 2.4.0-1.el7, jenkins 1.625.3-2.el7aos, nodejs-rc 1.1.2-1.el7aos, nodejs-got 5.2.1-1.el7aos, nodejs-ini 1.1.0-6.el7aos, +127 morefixed: vendor fix RHSA-2016:0070
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
12.67% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | commons-fileupload:commons-fileupload | <1.3.1 |
1.3.1 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/apache/commons-fileupload/commit/163a6061fbc077d4b6e4787d26857c2baba495d1
web
-
rhn.redhat.com
/errata/RHSA-2013-1430.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1429.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-10/msg00033.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2013-10/msg00050.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2013-11/msg00008.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-1428.html
vendor-advisory
-
debian.org
/security/2013/dsa-2827
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2016:0070
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-1442.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1448.html
vendor-advisory, web
-
ubuntu.com
/usn/usn-2029-1
vendor-advisory, web
- oracle.com /technetwork/topics/security/cpujul2015-2367936.html
-
exchange.xforce.ibmcloud.com
/vulnerabilities/88133
vdb-entry, web
- oracle.com /technetwork/topics/security/cpujan2016-2367955.html
-
secunia.com
/advisories/55716
third-party-advisory
- oracle.com /technetwork/topics/security/cpujan2015-1972971.html
-
wiki.jenkins-ci.org
/display/SECURITY/Jenkins+Security+Advisory+2014-10-01
web
-
tenable.com
/security/research/tra-2016-23
web
-
securityfocus.com
/bid/63174
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-2186
advisory
-
github.com
/apache/commons-fileupload
package
-
github.com
/apache/commons-fileupload/blob/master/RELEASE-NOTES.txt
web
Sources
- CVE List CVE-2013-2186
- GitHub Advisory GHSA-qx6h-9567-5fqw
- NVD CVE-2013-2186
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.