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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 9.0.22-1 |
| sid | Fixed | 9.0.22-1 |
| forky | Fixed | 9.0.22-1 |
| bullseye | Fixed | 9.0.22-1 |
| bookworm | Fixed | 9.0.22-1 |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >=8.5.0,<8.5.75 | 8.5.75 |
| Maven | org.apache.tomcat:tomcat | >=9.0.0M1,<9.0.20 | 9.0.20 |
References
- https://www.suse.com/security/cve/CVE-2022-25762.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-25762
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c
- https://security.netapp.com/advisory/ntap-20220629-0003
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://errata.rockylinux.org/RLSA-2020:4847
- https://security-tracker.debian.org/tracker/CVE-2022-25762
- https://access.redhat.com/errata/RHSA-2020:4847
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.