Arbitrary File Read Affecting org.apache.tomcat:tomcat-util package, versions [7.0.0,7.0.54)[8,8.0.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHETOMCAT-30947
  • published8 Sept 2014
  • disclosed31 May 2014
  • creditUnknown

Introduced: 31 May 2014

CVE-2014-0119  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade org.apache.tomcat:tomcat-util to version 7.0.54, 8.0.6 or higher.

Overview

org.apache.tomcat:tomcat-util is a Common code shared by multiple Tomcat components.

Affected versions of this package are vulnerable to Arbitrary File Read. Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.

CVSS Scores

version 3.1