CVE-2022-25762Apache Tomcat
High 8.6 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.1
- 8.6
- EPSS
- 5.6% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- May 13, 2022
- Updated
- Oct 8, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-404
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
— |
Per OSV / GitHub Advisories (GHSA-h3ch-5pp2-vh6w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 8.5.0 < 8.5.76 |
| apache | tomcat | ≥ 9.0.0 < 9.0.21 |
| oracle | agile_product_lifecycle_management | 9.3.6 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory