CVE-2021-42340
Apache Tomcat WebSockets Memory Leak
Description
The fix for bug 63362 present in Apache Tomcat 10.1.0-M1 to 10.1.0-M5, 10.0.0-M1 to 10.0.11, 9.0.40 to 9.0.53 and 8.5.60 to 8.5.71 introduced a memory leak. The object introduced to collect metrics for HTTP upgrade connections was not released for WebSocket connections once the connection was closed. This created a memory leak that, over time, could lead to a denial of service via an OutOfMemoryError.
INFO
Published Date :
Oct. 14, 2021, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 6:27 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-42340 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-42340
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-42340
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Awesome information for WebSockets security research
security websocket websockets security-tools websocket-security websockets-security web-application-security
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-42340
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-42340
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://kc.mcafee.com/corporate/index?page=content&id=SB10379 Added Reference https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784%40%3Ccommits.myfaces.apache.org%3E Added Reference https://lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40%3Cannounce.tomcat.apache.org%3E Added Reference https://security.gentoo.org/glsa/202208-34 Added Reference https://security.netapp.com/advisory/ntap-20211104-0001/ Added Reference https://www.debian.org/security/2021/dsa-5009 Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html Added Reference https://www.oracle.com/security-alerts/cpujan2022.html Added Reference https://www.oracle.com/security-alerts/cpujul2022.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784%40%3Ccommits.myfaces.apache.org%3E [No types assigned] Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784@%3Ccommits.myfaces.apache.org%3E -
Modified Analysis by [email protected]
Oct. 27, 2022
Action Type Old Value New Value Changed Reference Type https://security.gentoo.org/glsa/202208-34 No Types Assigned https://security.gentoo.org/glsa/202208-34 Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html Vendor Advisory https://www.oracle.com/security-alerts/cpuapr2022.html Patch, Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpujul2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0.0 up to (including) 8.5.0.2 *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:19.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:20.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_eftlink:21.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:16.0.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:19.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.0.4.13:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.5:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.14:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.8:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.7:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:taleo_platform:*:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:big_data_spatial_and_graph:*:*:*:*:*:*:*:* versions up to (excluding) 23.1 *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0.0 up to (including) 8.5.0.2 *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:managed_file_transfer:12.2.1.3.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:managed_file_transfer:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:19.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:20.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_eftlink:21.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:16.0.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:19.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.0.4.13:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.5:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.14:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.8:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.7:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:taleo_platform:*:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Aug. 21, 2022
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202208-34 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 25, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned] -
Modified Analysis by [email protected]
May. 02, 2022
Action Type Old Value New Value Changed Reference Type https://www.oracle.com/security-alerts/cpuapr2022.html No Types Assigned https://www.oracle.com/security-alerts/cpuapr2022.html Vendor Advisory Changed CPE Configuration OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 8.5.60 up to (excluding) 8.5.72 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 9.0.4 up to (excluding) 9.0.54 *cpe:2.3:a:apache:tomcat:10.0.0:milestone10:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 10.0.1 up to (excluding) 10.0.12 *cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:* OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 8.5.60 up to (excluding) 8.5.72 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 9.0.40 up to (excluding) 9.0.54 *cpe:2.3:a:apache:tomcat:10.0.0:milestone10:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 10.0.1 up to (excluding) 10.0.12 *cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:* Changed CPE Configuration OR *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0.0 up to (including) 8.5.0.2 *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:* OR *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0.0 up to (including) 8.5.0.2 *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:19.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:payment_interface:20.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_customer_insights:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:15.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:16.0.2:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_eftlink:21.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:16.0.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_financial_integration:19.0.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.0.4.13:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.5:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.14:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.8:*:*:*:*:*:*:* *cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.7:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:* *cpe:2.3:a:oracle:taleo_platform:*:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2022.html [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 29, 2022
Action Type Old Value New Value Changed Reference Type https://kc.mcafee.com/corporate/index?page=content&id=SB10379 No Types Assigned https://kc.mcafee.com/corporate/index?page=content&id=SB10379 Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpujan2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujan2022.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0.0 up to (including) 8.5.0.2 *cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:* *cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 23, 2022
Action Type Old Value New Value Added Reference https://kc.mcafee.com/corporate/index?page=content&id=SB10379 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 07, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujan2022.html [No Types Assigned] -
Modified Analysis by [email protected]
Dec. 04, 2021
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20211104-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20211104-0001/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2021/dsa-5009 No Types Assigned https://www.debian.org/security/2021/dsa-5009 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:netapp:management_services_for_element_software_and_netapp_hci:-:*:*:*:*:*:*:* OR *cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 12, 2021
Action Type Old Value New Value Added Reference https://www.debian.org/security/2021/dsa-5009 [No Types Assigned] Added Reference https://security.netapp.com/advisory/ntap-20211104-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 10, 2021
Action Type Old Value New Value Removed Reference https://security.netapp.com/advisory/ntap-20211104-0001/ [Third Party Advisory] -
Modified Analysis by [email protected]
Nov. 05, 2021
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784@%3Ccommits.myfaces.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784@%3Ccommits.myfaces.apache.org%3E Mailing List, Patch, Vendor Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20211104-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20211104-0001/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:management_services_for_element_software_and_netapp_hci:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 04, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20211104-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Oct. 21, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784@%3Ccommits.myfaces.apache.org%3E [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 20, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40%3Cannounce.tomcat.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40%3Cannounce.tomcat.apache.org%3E Mailing List, Vendor Advisory Added CWE NIST CWE-772 Added CPE Configuration OR *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 8.5.60 up to (excluding) 8.5.72 *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 9.0.4 up to (excluding) 9.0.54 *cpe:2.3:a:apache:tomcat:10.0.0:milestone10:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* versions from (including) 10.0.1 up to (excluding) 10.0.12 *cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* *cpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-42340
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-42340
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
4.13 }} 1.41%
score
0.92070
percentile