🛡️ CVE-2013-2185 — tomcat
Description
Deserialization of Untrusted Data in Apache Tomcat
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. Regardless the tomcat maintainers have altered the behavior of this method in version 7.0.39.
Weakness class
CVE-2013-2185 is classified as CWE-502: Deserialization of Untrusted Data. Serialised data from an untrusted source is reconstructed into objects, which can trigger code during the process.
Affected software
CVE-2013-2185 is recorded against 1 package.
- org.apache.tomcat:tomcat (fixed in 7.0.39)
Timeline and source
Published on 17 May 2022 and last revised on 4 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Package)
openwall.com (Web)
rhn.redhat.com (Web)
rhn.redhat.com (Web)
rhn.redhat.com (Web)
www.openwall.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | — | 7.0.39 |
References
Similar Threats
- Unknown CLSA-2025-1751500955
- Unknown CLSA-2025-1753056170
- Unknown CLSA-2025-1756253007
- Unknown CLSA-2025-1761005194
- Unknown CLSA-2025-1763338014
More CVE 2013 advisories
Browse all of CVE 2013 in the advisory index.
Site Security Check
Is tomcat part of your stack?
CVE-2013-2185 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.