CVE-2022-25762: Apache Tomcat - Race Condition
- Cve: CVE-2022-25762
- Name: Apache Tomcat - Race Condition
- 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.
- Impact: Potential for data corruption, incorrect data being returned, or application errors due to concurrent access to pooled objects.
- Remediation: Update to Apache Tomcat version 8.5.76 or later, or 9.0.21 or later.
- Vulnerability type: race_condition
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.6
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Epss score: 0.08405
- Epss percentile: 0.95119
- Assignee: [email protected]
- Published at: 2022-05-13T08:15:06Z
- Age in days: 1656
- Modified at: 2026-10-08T22:17:19Z
- Patch available: yes
- References total: 3
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25762
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-404 | Improper Resource Shutdown or Release |
Hackerone
- Reports: 11
- Rank: 2109
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.oracle.com/security-alerts/cpujul2022.html | Patch, Third Party Advisory |
| https://lists.apache.org/thread/6ckmjfb1k61dyzkto9vm2k5jvt4o7w7c | Mailing List, Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20220629-0003/ | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:tomcat | >= 9.0.0, < 9.0.21; >= 8.5.0, < 8.5.76 | no | nvd | /v1/products/apache/tomcat |
| oracle:agile_product_lifecycle_management | = 9.3.6 | no | nvd | /v1/products/oracle/agile_product_lifecycle_management |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/tomcat | package | yes | /v1/repositories/apache/tomcat |
Index
- Repositories: 4
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Hackerone reports: 11
- Exposed hosts: 581224
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since