Race Condition Affecting tomcat package, versions [8.5.5,8.5.32)[9.0.1,9.0.10)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.4% (74th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TOMCAT-2382322
  • published26 Jan 2022
  • disclosed2 Aug 2018
  • creditUnknown

Introduced: 2 Aug 2018

CVE-2018-8037  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade tomcat to version 8.5.32, 9.0.10 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. If an async request was completed by the application at the same time as the container triggered the async timeout, a race condition existed that could result in a user seeing a response intended for a different user. An additional issue was present in the NIO and NIO2 connectors that did not correctly track the closure of the connection when an async request was completed by the application and timed out by the container at the same time. This could also result in a user seeing a response intended for another user. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31.

CVSS Scores

version 3.1