VDB
Sign up
HIGH

GHSA-v6c7-8qx5-8gmp

Deserialization of Untrusted Data in Apache Tomcat

Quick fix

GHSA-v6c7-8qx5-8gmp — org.apache.tomcat:tomcat: upgrade to the fixed version with the command below.

# pom.xml: bump <version>7.0.39</version> for org.apache.tomcat:tomcat

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat:tomcat
Introduced in: 0Fixed in: 7.0.39
Fix# pom.xml: bump <version>7.0.39</version> for org.apache.tomcat:tomcat

References