Error Handling Affecting tomcat package, versions [,6.0.50)[7.0.0, 7.0.75)[8.0.0, 8.0.41)[8.5.0, 8.5.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.46% (87th 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-2382314
  • published26 Jan 2022
  • disclosed10 Aug 2017
  • creditUnknown

Introduced: 10 Aug 2017

CVE-2016-8745  (opens in a new tab)
CWE-388  (opens in a new tab)

How to fix?

Upgrade tomcat to version 6.0.50, 7.0.75, 8.0.41, 8.5.9 or higher.

Overview

Affected versions of this package are vulnerable to Error Handling. A bug in the error handling of the send file code for the NIO HTTP connector in Apache Tomcat 9.0.0.M1 to 9.0.0.M13, 8.5.0 to 8.5.8, 8.0.0.RC1 to 8.0.39, 7.0.0 to 7.0.73 and 6.0.16 to 6.0.48 resulted in the current Processor object being added to the Processor cache multiple times. This in turn meant that the same Processor could be used for concurrent requests. Sharing a Processor can result in information leakage between requests including, not not limited to, session ID and the response body. The bug was first noticed in 8.5.x onwards where it appears the refactoring of the Connector code for 8.5.x onwards made it more likely that the bug was observed. Initially it was thought that the 8.5.x refactoring introduced the bug but further investigation has shown that the bug is present in all currently supported Tomcat versions.

CVSS Scores

version 3.1