Improper Handling of Exceptional Conditions Affecting tomcat package, versions [,8.5.65)[9.0.0, 9.0.45)[10.0.0, 10.0.5)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
2.54% (90th 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-2382442
  • published26 Jan 2022
  • disclosed12 Jul 2021
  • creditUnknown

Introduced: 12 Jul 2021

CVE-2021-30639  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade tomcat to version 8.5.65, 9.0.45, 10.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Exceptional Conditions. A vulnerability in Apache Tomcat allows an attacker to remotely trigger a denial of service. An error introduced as part of a change to improve error handling during non-blocking I/O meant that the error flag associated with the Request object was not reset between requests. This meant that once a non-blocking I/O error occurred, all future requests handled by that request object would fail. Users were able to trigger non-blocking I/O errors, e.g. by dropping a connection, thereby creating the possibility of triggering a DoS. Applications that do not use non-blocking I/O are not exposed to this vulnerability. This issue affects Apache Tomcat 10.0.3 to 10.0.4; 9.0.44; 8.5.64.

CVSS Scores

version 3.1