Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat
  4. ›
  5. CVE-2013-2185

CVE-2013-2185: Improper Input Validation

May 17, 2022 (updated November 3, 2022)

** DISPUTED ** 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.

References

  • openwall.com/lists/oss-security/2014/10/24/12
  • rhn.redhat.com/errata/RHSA-2013-1193.html
  • rhn.redhat.com/errata/RHSA-2013-1194.html
  • rhn.redhat.com/errata/RHSA-2013-1265.html
  • www.openwall.com/lists/oss-security/2013/09/05/4
  • github.com/advisories/GHSA-v6c7-8qx5-8gmp
  • nvd.nist.gov/vuln/detail/CVE-2013-2185

Code Behaviors & Features

Detect and mitigate CVE-2013-2185 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.0.39

Fixed versions

  • 7.0.39

Solution

Upgrade to version 7.0.39 or above.

Impact 7.5 HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.tomcat/tomcat/CVE-2013-2185.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.