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)
Threat Intelligence
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
Introduced: 13 May 2022
CVE-2022-25762 Open this link in a new tabHow 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.