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)


0.0
high

Snyk CVSS

    Attack Complexity High
    Scope Changed
    Confidentiality High

    Threat Intelligence

    EPSS 0.61% (78th percentile)
Expand this section
NVD
8.6 high
Expand this section
Red Hat
8.6 high

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 ID SNYK-JAVA-ORGAPACHETOMCAT-2824101
  • published 13 May 2022
  • disclosed 13 May 2022
  • credit Apache Tomcat Security

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.