Security Features Affecting tomcat package, versions [7.0.0,7.0.85)[8.0.0,8.0.50)[8.5.0,8.5.28)[9.0.0,9.0.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.48% (76th 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-UNMANAGED-TOMCAT-2382438
  • published26 Jan 2022
  • disclosed28 Feb 2018
  • creditUnknown

Introduced: 28 Feb 2018

CVE-2018-1304  (opens in a new tab)
CWE-254  (opens in a new tab)

How to fix?

Upgrade tomcat to version 7.0.85, 8.0.50, 8.5.28, 9.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Security Features. The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

CVSS Scores

version 3.1