CVE-2022-25762
Improper socket reuse in Apache Tomcat
8.6
HIGH
CVSS 3.1
EPSS 0.65%
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.
How to fix CVE-2022-25762
To remediate CVE-2022-25762, upgrade the affected package to a fixed version below.
- —upgrade to 8.5.76 or later
- —upgrade to 9.0.22-1 or later
- —upgrade to 8.5.75 or later
Is CVE-2022-25762 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 8.5.0, < 8.5.76, >= 9.0.0, < 9.0.21
- from 0, < 9.0.22-1
- >= 8.5.0, < 8.5.75
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |