Vulnerability record · CVE-2022-25762 · published 13 May 2022
CVE-2022-25762: Apache tomcat improper resource shutdown vulnerability
Apache · Tomcat
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c | Mailing ListVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220629-0003/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | PatchThird Party Advisory |
| https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c | Mailing ListVendor Advisory |
| https://security.netapp.com/advisory/ntap-20220629-0003/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpujul2022.html | PatchThird Party Advisory |
Track CVE-2022-25762 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-25762), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.