What’s Vulnerable › Vulnerabilities
CVE-2022-25762: Response mix-up with WebSocket concurrent send and close
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-13 · updated 2026-10-08
- Weakness: CWE-404
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.
Affected products
- Apache Tomcat: from 8.5.0 before 8.5.76; from 9.0.0 before 9.0.21 — fixed in 8.5.76, 9.0.21
- Oracle Corporation Oracle Agile PLM: 9.3.6
How to fix
Upgrade to a fixed version: Apache Tomcat 8.5.76, 9.0.21. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c
- https://security.netapp.com/advisory/ntap-20220629-0003/
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c
- https://security.netapp.com/advisory/ntap-20220629-0003/
- https://www.oracle.com/security-alerts/cpujul2022.html
Get alerted when CVE-2022-25762 or the next vulnerability affects your stack