Response mix-up with WebSocket concurrent send and close
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-404.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Tomcat | Apache Tomcat 9 9.0.0.M1 to 9.0.20; Apache Tomcat 8.5 8.5.0 to 8.5.75 | — | No fix listed | CNA |
| — | org.apache.tomcat:tomcat (Maven) | 8.5.0 to before 8.5.75 | 8.5.75 | Patch available | GHSA-h3ch-5pp2-vh6w |
| — | org.apache.tomcat:tomcat (Maven) | 9.0.0M1 to before 9.0.20 | 9.0.20 | Patch available | GHSA-h3ch-5pp2-vh6w |
- Apache Tomcat VendorApache Affected Apache Tomcat 9 9.0.0.M1 to 9.0.20; Apache Tomcat 8.5 8.5.0 to 8.5.75 Fixed in — No fix listed CNA
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 8.5.0 to before 8.5.75 Fixed in 8.5.75 Patch available GHSA-h3ch-5pp2-vh6w
- org.apache.tomcat:tomcat (Maven) Vendor— Affected 9.0.0M1 to before 9.0.20 Fixed in 9.0.20 Patch available GHSA-h3ch-5pp2-vh6w
Remediation
- Fix · GHSA-h3ch-5pp2-vh6w org.apache.tomcat:tomcat (Maven) Fixed in 8.5.75 Advisory →
- Fix · GHSA-h3ch-5pp2-vh6w org.apache.tomcat:tomcat (Maven) Fixed in 9.0.20 Advisory →
Red Hat 1 advisory
- RHSA-2020:4847 Released 2020-11-04 · Red Hat rating Moderatepki-core:10.6 and pki-deps:10.6 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) apache-commons-collections-3.2.2-10.module+el8.1.0+3366+6dfb954c.noarch::pki-deps:10.6, apache-commons-collections-3.2.2-10.module+el8.1.0+3366+6dfb954c.src::pki-deps:10.6, apache-commons-lang-2.6-21.module+el8.1.0+3366+6dfb954c.noarch::pki-deps:10.6 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:4847 |
Not affected: 4 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
- Red Hat JBoss Web Server 3
- Red Hat JBoss Web Server 5
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25762
- 2026-10-03 Alias added: GHSA-h3ch-5pp2-vh6w
- 2026-10-08 CISA SSVC decision points changed
- 2026-11-04 EPSS moved to the 95th–99th percentile
References
Advisory 3
More Apache Tomcat vulnerabilities
- TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2020-01862 Improper privilege management in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
- TI-2016-07192 Improper access control in Apache Tomcat KEVCVSS 3.1CRITICAL 9.8
- TI-2017-09342 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
- TI-2017-09340 Unrestricted file upload in Apache Tomcat KEVCVSS 3.1HIGH 8.1
- TI-2026-26741 Apache Tomcat: Fix for CVE-2026-29146 allowed bypass of EncryptInterceptor KEVCVSS 3.1HIGH 7.5
Sources
- CVE-2022-25762 · CVE Program
- CVE-2022-25762 · NVD
- FIRST EPSS
- GHSA-h3ch-5pp2-vh6w · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25762 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences