CVE-2013-2186
HIGH 7.5CVSS 2.0Arbitrary file write in Apache Commons Fileupload
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.
- Published
- 28 Oct 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-qx6h-9567-5fqw
- Sources
- NVDJSONOSV GHSA-qx6h-9567-5fqwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | jboss_enterprise_brms_platformcpe:2.3:a:redhat:jboss_enterprise_brms_platform:5.3.1:*:*:*:*:*:*:* |
= 5.3.1 | |
| NVD | redhat | jboss_enterprise_portal_platformcpe:2.3:a:redhat:jboss_enterprise_portal_platform:4.3.0:cp07:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | redhat | jboss_enterprise_portal_platformcpe:2.3:a:redhat:jboss_enterprise_portal_platform:5.2.2:*:*:*:*:*:*:* |
= 5.2.2 | |
| NVD | redhat | jboss_enterprise_portal_platformcpe:2.3:a:redhat:jboss_enterprise_portal_platform:6.0.0:*:*:*:*:*:*:* |
= 6.0.0 | |
| NVD | redhat | jboss_enterprise_web_servercpe:2.3:a:redhat:jboss_enterprise_web_server:1.0.2:*:*:*:*:*:*:* |
= 1.0.2 | |
| NVD | redhat | openshiftcpe:2.3:a:redhat:openshift:*:*:*:*:enterprise:*:*:* |
<= 3.1 | |
| NVD | ubuntu | ubuntucpe:2.3:o:ubuntu:ubuntu:10.04:*:lts:*:*:*:*:* |
= 10.04 | |
| OSV | Maven | commons-fileupload:commons-fileupload | < 1.3.1 | 1.3.1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2013-11/msg00008.html · WEB
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00033.html · WEB
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00050.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-1428.html · Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1429.html · Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1430.html · Vendor Advisory
- http://rhn.redhat.com/errata/RHSA-2013-1442.html
- http://rhn.redhat.com/errata/RHSA-2013-1448.html · Vendor Advisory, WEB
- http://secunia.com/advisories/55716
- http://ubuntu.com/usn/usn-2029-1 · WEB
- http://www.debian.org/security/2013/dsa-2827 · WEB
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.securityfocus.com/bid/63174 · WEB
- https://access.redhat.com/errata/RHSA-2016:0070 · WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/88133 · WEB
- https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2014-10-01 · WEB
- https://www.tenable.com/security/research/tra-2016-23 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-2186 · ADVISORY
- https://github.com/apache/commons-fileupload/commit/163a6061fbc077d4b6e4787d26857c2baba495d1 · WEB
- https://github.com/apache/commons-fileupload · PACKAGE
- https://github.com/apache/commons-fileupload/blob/master/RELEASE-NOTES.txt · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 28 Oct 2013)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)