GitHub Advisoryadvisory · Maven
GHSA-v6c7-8qx5-8gmp Deserialization of Untrusted Data in Apache Tomcat
HIGH
Official page ↗
- Aliases
- CVE-2013-2185
- Ecosystem
- Maven
- Packages
- org.apache.tomcat:tomcat
- Severity
- High
- Weaknesses
- CWE-502
- Reviewed
- 2022-11-03
Affected packages
• Maven org.apache.tomcat:tomcat: < 7.0.39 → fixed in 7.0.39
Description
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.
Related
Alias · CVE (1)
- CVE-2013-2185 The readObject method in the DiskFileItem class in Apache Tomcat and JBoss Web, as used in Red Hat JBoss Enterprise Application Platform… vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2185 advisory
- https://github.com/apache/tomcat package
- http://openwall.com/lists/oss-security/2014/10/24/12 web
- http://rhn.redhat.com/errata/RHSA-2013-1193.html web
- http://rhn.redhat.com/errata/RHSA-2013-1194.html web
- http://rhn.redhat.com/errata/RHSA-2013-1265.html web
- http://www.openwall.com/lists/oss-security/2013/09/05/4 web