Live threats

All CVEs / Apache

CVE-2013-2185Apache Tomcat

High 7.5 No auth needed

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachetomcat≤ 7.0.39
redhatjboss_enterprise_application_platform6.1.0
redhatjboss_enterprise_portal_platform6.0.0

Official sources

References

Links published by the sources. Open them with care.