CVE-2021-42340 (CNNVD-202110-1057)

HIGH
中文标题:
Apache Tomcat 资源管理错误漏洞
英文标题:
DoS via memory leak with WebSocket connections
CVSS分数: 7.5
发布时间: 2021-10-14 19:55:14
漏洞类型: 资源管理错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Apache Tomcat是美国阿帕奇(Apache)基金会的一款轻量级Web应用服务器。该程序实现了对Servlet和JavaServer Page(JSP)的支持。 Apache Tomcat存在资源管理错误漏洞,该漏洞源于网络系统或产品在内存上执行操作时,未正确验证数据边界,导致向关联的其他内存位置上执行了错误的读写操作。攻击者可利用该漏洞导致缓冲区溢出或堆溢出等。

英文描述:

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.

CWE类型:
CWE-772
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Apache Software Foundation Apache Tomcat Apache Tomcat 10 10.0.0-M10 to 10.0.11 - - cpe:2.3:a:apache_software_foundation:apache_tomcat:apache_tomcat_10_10.0.0-m10_to_10.0.11:*:*:*:*:*:*:*
Apache Software Foundation Apache Tomcat Apache Tomcat 10 10.1.0-M1 to 10.1.0-M5 - - cpe:2.3:a:apache_software_foundation:apache_tomcat:apache_tomcat_10_10.1.0-m1_to_10.1.0-m5:*:*:*:*:*:*:*
Apache Software Foundation Apache Tomcat Apache Tomcat 9 9.0.40 to 9.0.53 - - cpe:2.3:a:apache_software_foundation:apache_tomcat:apache_tomcat_9_9.0.40_to_9.0.53:*:*:*:*:*:*:*
Apache Software Foundation Apache Tomcat Apache Tomcat 8 8.5.60 to 8.5.71 - - cpe:2.3:a:apache_software_foundation:apache_tomcat:apache_tomcat_8_8.5.60_to_8.5.71:*:*:*:*:*:*:*
apache tomcat * - - cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
apache tomcat 10.0.0 - - cpe:2.3:a:apache:tomcat:10.0.0:milestone10:*:*:*:*:*:*
apache tomcat 10.1.0 - - cpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:*
netapp hci - - - cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:*
netapp management_services_for_element_software - - - cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*
debian debian_linux 11.0 - - cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
oracle agile_engineering_data_management 6.2.1.0 - - cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:*
oracle big_data_spatial_and_graph * - - cpe:2.3:a:oracle:big_data_spatial_and_graph:*:*:*:*:*:*:*:*
oracle communications_diameter_signaling_router * - - cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
oracle hospitality_cruise_shipboard_property_management_system 20.1.0 - - cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:*
oracle managed_file_transfer 12.2.1.3.0 - - cpe:2.3:a:oracle:managed_file_transfer:12.2.1.3.0:*:*:*:*:*:*:*
oracle managed_file_transfer 12.2.1.4.0 - - cpe:2.3:a:oracle:managed_file_transfer:12.2.1.4.0:*:*:*:*:*:*:*
oracle middleware_common_libraries_and_tools 12.2.1.4.0 - - cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:*
oracle payment_interface 19.1 - - cpe:2.3:a:oracle:payment_interface:19.1:*:*:*:*:*:*:*
oracle payment_interface 20.3 - - cpe:2.3:a:oracle:payment_interface:20.3:*:*:*:*:*:*:*
oracle retail_customer_insights 15.0.2 - - cpe:2.3:a:oracle:retail_customer_insights:15.0.2:*:*:*:*:*:*:*
oracle retail_customer_insights 16.0.2 - - cpe:2.3:a:oracle:retail_customer_insights:16.0.2:*:*:*:*:*:*:*
oracle retail_data_extractor_for_merchandising 15.0.2 - - cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:15.0.2:*:*:*:*:*:*:*
oracle retail_data_extractor_for_merchandising 16.0.2 - - cpe:2.3:a:oracle:retail_data_extractor_for_merchandising:16.0.2:*:*:*:*:*:*:*
oracle retail_eftlink 21.0.0 - - cpe:2.3:a:oracle:retail_eftlink:21.0.0:*:*:*:*:*:*:*
oracle retail_financial_integration 16.0.1 - - cpe:2.3:a:oracle:retail_financial_integration:16.0.1:*:*:*:*:*:*:*
oracle retail_financial_integration 19.0.0 - - cpe:2.3:a:oracle:retail_financial_integration:19.0.0:*:*:*:*:*:*:*
oracle retail_store_inventory_management 14.0.4.13 - - cpe:2.3:a:oracle:retail_store_inventory_management:14.0.4.13:*:*:*:*:*:*:*
oracle retail_store_inventory_management 14.1.3.5 - - cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.5:*:*:*:*:*:*:*
oracle retail_store_inventory_management 14.1.3.14 - - cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.14:*:*:*:*:*:*:*
oracle retail_store_inventory_management 15.0.3.3 - - cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.3:*:*:*:*:*:*:*
oracle retail_store_inventory_management 15.0.3.8 - - cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.8:*:*:*:*:*:*:*
oracle retail_store_inventory_management 16.0.3.7 - - cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.7:*:*:*:*:*:*:*
oracle sd-wan_edge 9.0 - - cpe:2.3:a:oracle:sd-wan_edge:9.0:*:*:*:*:*:*:*
oracle sd-wan_edge 9.1 - - cpe:2.3:a:oracle:sd-wan_edge:9.1:*:*:*:*:*:*:*
oracle taleo_platform * - - cpe:2.3:a:oracle:taleo_platform:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_MISC
cve.org
访问
[myfaces-commits] 20211021 [myfaces-tobago] branch tobago-5.x updated: build: workaround for CVE-2021-42340 mailing-list
cve.org
访问
DSA-5009 vendor-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
GLSA-202208-34 vendor-advisory
cve.org
访问
CVSS评分详情
7.5
HIGH
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS版本: 3.1
机密性
NONE
完整性
NONE
可用性
HIGH
时间信息
发布时间:
2021-10-14 19:55:14
修改时间:
2024-08-04 03:30:38
创建时间:
2025-11-11 15:37:04
更新时间:
2025-11-11 15:56:56
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2021-42340 2025-11-11 15:21:07 2025-11-11 07:37:04
NVD nvd_CVE-2021-42340 2025-11-11 14:57:43 2025-11-11 07:45:22
CNNVD cnnvd_CNNVD-202110-1057 2025-11-11 15:10:44 2025-11-11 07:56:56
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:56:56
vulnerability_type: 未提取 → 资源管理错误; cnnvd_id: 未提取 → CNNVD-202110-1057; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 资源管理错误
  • cnnvd_id: 未提取 -> CNNVD-202110-1057
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:22
severity: SeverityLevel.MEDIUM → SeverityLevel.HIGH; cvss_score: 未提取 → 7.5; cvss_vector: NOT_EXTRACTED → CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H; cvss_version: NOT_EXTRACTED → 3.1; affected_products_count: 4 → 35; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • severity: SeverityLevel.MEDIUM -> SeverityLevel.HIGH
  • cvss_score: 未提取 -> 7.5
  • cvss_vector: NOT_EXTRACTED -> CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • cvss_version: NOT_EXTRACTED -> 3.1
  • affected_products_count: 4 -> 35
  • data_sources: ['cve'] -> ['cve', 'nvd']