GitHub Advisoryadvisory · Maven

GHSA-h3ch-5pp2-vh6w Improper socket reuse in Apache Tomcat

HIGH Published 2022-05-14 Modified 2022-05-25 Official page ↗
Aliases
CVE-2022-25762
Ecosystem
Maven
Packages
org.apache.tomcat:tomcat
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-404
Reviewed
2022-05-25

Affected packages

• Maven org.apache.tomcat:tomcat: >= 8.5.0, < 8.5.75 → fixed in 8.5.75 • Maven org.apache.tomcat:tomcat: >= 9.0.0M1, < 9.0.20 → fixed in 9.0.20

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.

Related

Alias · CVE (1)

  • CVE-2022-25762 If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to… vulnerability

Weakness · CWE (1)

  • CWE-404 Improper Resource Shutdown or Release weakness

References