Skip to content
Fencer Intel
high 8.6

CVE-2022-25762 json

Response mix-up with WebSocket concurrent send and close

published 4y ago modified last mo. 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

Is CVE-2022-25762 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 more
    affected: 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 more
    fixed: 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 tomcat
    not 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
last mo.

Exploit prediction

8.41% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.