Name | CVE-2022-25762 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
tomcat7 (PTS) | jessie, jessie (lts) | 7.0.56-3+really7.0.109-1+deb8u6 | vulnerable |
stretch | 7.0.75-1 | vulnerable | |
tomcat8 (PTS) | jessie, jessie (lts) | 8.0.14-1+deb8u28 | vulnerable |
stretch (security) | 8.5.54-0+deb9u8 | vulnerable | |
stretch (lts), stretch | 8.5.54-0+deb9u15 | vulnerable | |
tomcat9 (PTS) | buster (security), buster, buster (lts) | 9.0.31-1~deb10u12 | fixed |
bullseye (security), bullseye | 9.0.43-2~deb11u10 | fixed | |
bookworm | 9.0.70-2 | fixed | |
sid, trixie | 9.0.95-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
tomcat7 | source | stretch | (unfixed) | end-of-life | ||
tomcat7 | source | (unstable) | (unfixed) | |||
tomcat8 | source | (unstable) | (unfixed) | |||
tomcat9 | source | (unstable) | 9.0.22-1 |
[stretch] - tomcat8 <ignored> (Possibly backwards incompatible changes)
https://github.com/apache/tomcat/commit/e2d5a040b962a904db5264b3cb3282c6b05f823c (9.0.21)
https://github.com/apache/tomcat/commit/7046644bf361b89afc246b6643e24ce2ae60cacc (9.0.21)
https://github.com/apache/tomcat/commit/339b40bc07bdba9ded565929b9a3448c5a78f015 (9.0.21)
https://github.com/apache/tomcat/commit/65fb1ee548111021edde247f3b3c409ec95a5183 (9.0.21)
https://github.com/apache/tomcat/commit/01f2cf25b270a84d0daeefc4f215aa2f56e1df99 (8.5.76)
[jessie] - tomcat7 <ignored> (possibly backwards incompatible changes)
[jessie] - tomcat8 <ignored> (possibly backwards incompatible changes)