CVE-2022-25762

High

Description

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.

SeverityHigh
CVSS8.6
Exploit probability95. percentile8.4%
ProductApache Tomcat
PublishedMay 13, 2022
First seenMay 13, 2022
Weakness typeCWE-404CWE-404

How to fix

Update
  • apache tomcat8.5.76, 9.0.21 or later
  • org.apache.tomcat:tomcat8.5.75, 9.0.20 or later

Affected products

ProductAffected versionsFixed in
apache tomcat8.5.0 ≤ v < 8.5.76, 9.0.0 ≤ v < 9.0.218.5.76, 9.0.21
oracle agile_product_lifecycle_management9.3.6—
org.apache.tomcat:tomcatMaven8.5.0 ≤ v < 8.5.75, 9.0.0M1 ≤ v < 9.0.208.5.75, 9.0.20

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.