CVE-2013-2185Apache Tomcat
High 7.5 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 2.0
- 7.5
- EPSS
- 7.2% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Jan 19, 2014
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
The readObject method in the DiskFileItem class in Apache Tomcat and JBoss Web, as used in Red Hat JBoss Enterprise Application Platform 6.1.0 and Red Hat JBoss Portal 6.0.0, allows remote attackers to write to arbitrary files via a NULL byte in a file name in a serialized instance, a similar issue to CVE-2013-2186. NOTE: this issue is reportedly disputed by the Apache Tomcat team, although Red Hat considers it a vulnerability. The dispute appears to regard whether it is the responsibility of applications to avoid providing untrusted data to be deserialized, or whether this class should inherently protect against this issue
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat |
< 7.0.39 |
7.0.39 |
— |
Per OSV / GitHub Advisories (GHSA-v6c7-8qx5-8gmp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≤ 7.0.39 |
| redhat | jboss_enterprise_application_platform | 6.1.0 |
| redhat | jboss_enterprise_portal_platform | 6.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- openwall.com
- rhn.redhat.com Vendor Advisory
- rhn.redhat.com Vendor Advisory
- rhn.redhat.com Vendor Advisory
- www.openwall.com