Improper Resource Shutdown or Release Affecting org.apache.tomcat:tomcat-util package, versions [8.5.0,8.5.76)[9.0.0.M1,9.0.21)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.61% (80th 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-2824101
  • published13 May 2022
  • disclosed13 May 2022
  • creditApache Tomcat Security

Introduced: 13 May 2022

CVE-2022-25762  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade org.apache.tomcat:tomcat-util to version 8.5.76, 9.0.21 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 Improper Resource Shutdown or Release. When a web application sends a WebSocket message concurrently with the WebSocket connection closing, the application may continue to use the socket after it has been closed. This could result in subsequent connections using the same object concurrently which could result in data being returned to the wrong use and/or other errors.

CVSS Scores

version 3.1