CVE-2022-25762
Fixed in a distro release EPSS 8%
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.
Products: Apache Software Foundation Apache Tomcat
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.apache.tomcat:tomcat | 8.5.75 |
| Maven | org.apache.tomcat:tomcat | 9.0.20 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | tomcat9 | 9.0.22-1 |
| Debian 13 | tomcat9 | 9.0.22-1 |
| Debian 14 | tomcat9 | 9.0.22-1 |
| Red Hat Enterprise Linux 8 | apache-commons-collections | 0:3.2.2-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | apache-commons-lang | 0:2.6-21.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | apache-commons-net | 0:3.6-3.module+el8.3.0+6805+72837426 |
| Red Hat Enterprise Linux 8 | bea-stax | 0:1.2.0-16.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | bea-stax-api | 0:1.2.0-16.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-fastinfoset | 0:1.2.13-9.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-jaxb | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-api | 0:2.2.12-8.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-core | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-runtime | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-txw2 | 0:2.2.11-11.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | jackson-annotations | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 |
| Red Hat Enterprise Linux 8 | jackson-core | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 |
| Red Hat Enterprise Linux 8 | jackson-databind | 0:2.10.0-1.module+el8.2.0+5059+3eb3af25 |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-json-provider | 0:2.9.9-1.module+el8.1.0+3832+9784644d |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers | 0:2.9.9-1.module+el8.1.0+3832+9784644d |
| Red Hat Enterprise Linux 8 | jackson-module-jaxb-annotations | 0:2.7.6-4.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | javassist | 0:3.18.1-8.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | javassist-javadoc | 0:3.18.1-8.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | jss | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | jss-debuginfo | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | jss-debugsource | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | jss-javadoc | 0:4.7.3-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | ldapjdk | 0:4.22.0-1.module+el8.3.0+6784+6e1e4c62 |
| Red Hat Enterprise Linux 8 | ldapjdk-javadoc | 0:4.22.0-1.module+el8.3.0+6784+6e1e4c62 |
| Red Hat Enterprise Linux 8 | pki-base | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-base-java | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-ca | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-core | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-core-debuginfo | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-core-debugsource | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-kra | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-server | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 |
| Red Hat Enterprise Linux 8 | pki-servlet-engine | 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 |
| Red Hat Enterprise Linux 8 | pki-symkey | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-symkey-debuginfo | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-tools | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | pki-tools-debuginfo | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | python-nss | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | python-nss-debugsource | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | python-nss-doc | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | python3-nss | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | python3-nss-debuginfo | 0:1.0.1-10.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | python3-pki | 0:10.9.4-1.module+el8.3.0+8058+d5cd4219 |
| Red Hat Enterprise Linux 8 | relaxngDatatype | 0:2011.1-7.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | resteasy | 0:3.0.26-3.module+el8.2.0+5723+4574fbff |
| Red Hat Enterprise Linux 8 | slf4j | 0:1.7.25-4.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | slf4j-jdk14 | 0:1.7.25-4.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | stax-ex | 0:1.7.7-8.module+el8.2.0+5723+4574fbff |
| Red Hat Enterprise Linux 8 | tomcatjss | 0:7.5.0-1.module+el8.3.0+7355+c59bcbd9 |
| Red Hat Enterprise Linux 8 | velocity | 0:1.7-24.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | xalan-j2 | 0:2.7.1-38.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | xerces-j2 | 0:2.11.0-34.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | xml-commons-apis | 0:1.4.01-25.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | xml-commons-resolver | 0:1.2-26.module+el8.1.0+3366+6dfb954c |
| Red Hat Enterprise Linux 8 | xmlstreambuffer | 0:1.5.4-8.module+el8.2.0+5723+4574fbff |
| Red Hat Enterprise Linux 8 | xsom | 0:0-19.20110809svn.module+el8.1.0+3366+6dfb954c |
| Rocky Linux 8 | apache-commons-collections | 0:3.2.2-10.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | apache-commons-collections | 0:3.2.2-10.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | apache-commons-lang | 0:2.6-21.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | apache-commons-lang | 0:2.6-21.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | apache-commons-net | 0:3.6-3.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | apache-commons-net | 0:3.6-3.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | bea-stax | 0:1.2.0-16.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | glassfish-fastinfoset | 0:1.2.13-9.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | glassfish-jaxb | 0:2.2.11-11.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | glassfish-jaxb-api | 0:2.2.12-8.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jackson-annotations | 0:2.10.0-1.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jackson-core | 0:2.10.0-1.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jackson-databind | 0:2.10.0-1.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jackson-jaxrs-providers | 0:2.9.9-1.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jackson-module-jaxb-annotations | 0:2.7.6-4.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | javassist | 0:3.18.1-8.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | javassist | 0:3.18.1-8.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | ldapjdk | 0:4.22.0-1.module+el8.4.0+418+b7ae1d4a |
| Rocky Linux 8 | pki-servlet-engine | 1:9.0.30-1.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | python-nss | 0:1.0.1-10.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | relaxngDatatype | 0:2011.1-7.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | resteasy | 0:3.0.26-3.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | slf4j | 0:1.7.25-4.module+el8.5.0+697+f586bb30 |
| Rocky Linux 8 | slf4j | 0:1.7.25-4.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | slf4j | 0:1.7.25-4.module+el8.3.0+133+b8b54b58 |
| Rocky Linux 8 | stax-ex | 0:1.7.7-8.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | velocity | 0:1.7-24.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | velocity | 0:1.7-24.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | xalan-j2 | 0:2.7.1-38.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | xalan-j2 | 0:2.7.1-38.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | xerces-j2 | 0:2.11.0-34.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | xerces-j2 | 0:2.11.0-34.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | xml-commons-apis | 0:1.4.01-25.module+el8.5.0+697+f586bb30 |
| Rocky Linux 8 | xml-commons-apis | 0:1.4.01-25.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | xml-commons-apis | 0:1.4.01-25.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | xml-commons-resolver | 0:1.2-26.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | xml-commons-resolver | 0:1.2-26.module+el8.3.0+74+855e3f5d |
| Rocky Linux 8 | xmlstreambuffer | 0:1.5.4-8.module+el8.3.0+53+ea062990 |
| Rocky Linux 8 | xsom | 0:0-19.20110809svn.module+el8.3.0+53+ea062990 |
| Ubuntu Pro 18.04 LTS | tomcat8 | no fix |
| Ubuntu Pro 18.04 LTS | tomcat9 | no fix |