CVE-2022-25762: Response mix-up with WebSocket concurrent send and close

Published May 13, 2022
·
Updated

Apache Tomcat could allow a remote attacker to bypass security restrictions, caused by improper error handling in WebSocket connection. By sending a specially-crafted WebSocket message concurrently with the WebSocket connection closing, an attacker could exploit this vulnerability to continue to use the socket after it has been closed.

Other sources

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 Software

3 affected components
Apache Tomcat>=8.5.0<8.5.76
Apache Tomcat>=9.0.0<9.0.21
Oracle Agile PLM=9.3.6

Event History

May 13, 2022
CVE Published
via MITRE·07:50 AM
Data Sourced
via MITRE·07:50 AM
DescriptionWeakness
Mar 20, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-25762?

The severity of CVE-2022-25762 is high with a score of 8.6.

2

Which web applications are affected by CVE-2022-25762?

CVE-2022-25762 affects web applications running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20.

3

How does CVE-2022-25762 occur?

CVE-2022-25762 occurs when a web application sends a WebSocket message concurrently with the WebSocket connection closing.

4

What is the impact of CVE-2022-25762?

The impact of CVE-2022-25762 is that the application may continue to use the socket after it has been closed, leading to potential security vulnerabilities.

5

How can I fix CVE-2022-25762?

To fix CVE-2022-25762, it is recommended to upgrade to Apache Tomcat version 8.5.76 or 9.0.21, depending on the affected version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203