Improper Resource Shutdown or Release Affecting tomcat9 package, versions <9.0.22-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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-DEBIANUNSTABLE-TOMCAT9-2824180
  • published13 May 2022
  • disclosed13 May 2022

Introduced: 13 May 2022

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

How to fix?

Upgrade Debian:unstable tomcat9 to version 9.0.22-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat9 package and not the tomcat9 package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it has been closed. The error handling triggered in this case could cause the a pooled object to be placed in the pool twice. 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