CVE-2022-25762:
Improper socket reuse in Apache Tomcat
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57908%
CWE
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.tomcat:tomcat | maven | >= 8.5.0, < 8.5.75 | 8.5.75 |
org.apache.tomcat:tomcat | maven | >= 9.0.0M1, < 9.0.20 | 9.0.20 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper socket reuse during concurrent WebSocket message transmission and connection closure. Key functions in Tomcat's WebSocket implementation (WsRemoteEndpointImplServer, WsSession) directly manage connection states and resource release. Errors in these methods' synchronization or state checks during closure could allow double-pooling. The SocketProcessorBase.run()
is included with medium confidence due to its role in socket task handling, though its direct involvement depends on thread scheduling specifics not explicitly documented in the vulnerability description.