CVE-2022-25762 json
Response mix-up with WebSocket concurrent send and close
published 2022-05-13 4 y ago modified 2026-10-08 31 d ago also BIT-tomcat-2022-25762 , EUVD-2022-4051 , GHSA-h3ch-5pp2-vh6w
- cvss
- 8.6
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.4%
- EPSS 8.4% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.apache.tomcat:tomcat 8.5.75, 9.0.20
- bitnami tomcat 8.5.76, 9.0.21
- apache tomcat 8.5.76, 9.0.21
- tomcat9 Debian 14, Debian 13, Debian 12 9.0.22-1
debian advisories DEBIAN-CVE-2022-25762
- jss RHEL 8 4.7.3-1.module+el8.3.0+8058+d5cd4219
- xsom RHEL 8 0-19.20110809svn.module+el8.1.0+3366+6dfb954c
- slf4j RHEL 8 1.7.25-4.module+el8.1.0+3366+6dfb954c
- pki-ca RHEL 8 10.9.4-1.module+el8.3.0+8058+d5cd4219
- ldapjdk RHEL 8 4.22.0-1.module+el8.3.0+6784+6e1e4c62
- pki-kra RHEL 8 10.9.4-1.module+el8.3.0+8058+d5cd4219
- stax-ex RHEL 8 1.7.7-8.module+el8.2.0+5723+4574fbff
- bea-stax RHEL 8 1.2.0-16.module+el8.1.0+3366+6dfb954c
red hat advisories RHSA-2020:4847
- xsom Rocky Linux 8 0-19.20110809svn.module+el8.3.0+53+ea062990
- slf4j Rocky Linux 8 1.7.25-4.module+el8.5.0+697+f586bb30
- slf4j Rocky Linux 8 1.7.25-4.module+el8.3.0+74+855e3f5d
- slf4j Rocky Linux 8 1.7.25-4.module+el8.3.0+133+b8b54b58
- ldapjdk Rocky Linux 8 4.22.0-1.module+el8.4.0+418+b7ae1d4a
- stax-ex Rocky Linux 8 1.7.7-8.module+el8.3.0+53+ea062990
- bea-stax Rocky Linux 8 1.2.0-16.module+el8.3.0+53+ea062990
- resteasy Rocky Linux 8 3.0.26-3.module+el8.3.0+53+ea062990
rocky linux advisories RLSA-2020:4847
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-25762 updated cvss 8.6
tomcat: request mixup
-
Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) jss 4.7.3-1.module+el8.3.0+8058+d5cd4219, slf4j 1.7.25-4.module+el8.1.0+3366+6dfb954c, pki-ca 10.9.4-1.module+el8.3.0+8058+d5cd4219, stax-ex 1.7.7-8.module+el8.2.0+5723+4574fbff, velocity 1.7-24.module+el8.1.0+3366+6dfb954c, ldapjdk 4.22.0-1.module+el8.3.0+6784+6e1e4c62, +44 morefixed: vendor fix RHSA-2020:4847
-
Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-api Red Hat JBoss Web Server 3 tomcat Red Hat JBoss Web Server 5 tomcatnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
8.40% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.tomcat:tomcat | >=8.5.0, <8.5.75 >=9.0.0M1, <9.0.20 |
8.5.75 9.0.20 |
| bitnami | tomcat | >=8.5.0, <8.5.76 >=9.0.0, <9.0.21 |
8.5.76 9.0.21 |
Affected products
- Apache Software Foundation Apache Tomcat
Classification
- Weakness
-
- CWE-404 Improper Resource Shutdown or Release
References
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory, advisory
-
lists.apache.org
/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c
web, mailing-list, vendor-advisory, advisory
-
security.netapp.com
/advisory/ntap-20220629-0003/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25762
advisory, web
-
github.com
/apache/tomcat
package
-
security.netapp.com
/advisory/ntap-20220629-0003
web
Sources
- CVE List CVE-2022-25762
- GitHub Advisory GHSA-h3ch-5pp2-vh6w
- NVD CVE-2022-25762
- OSV BIT-tomcat-2022-25762
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.