CVE-2021-42340
DoS via memory leak with WebSocket connections
7.5
HIGH
CVSS 3.1
EPSS 11.0%
描述
The fix for bug 63362 present in Apache Tomcat 10.1.0 to 10.1.0, 10.0.0 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.
如何修補 CVE-2021-42340
要修補 CVE-2021-42340,請將受影響套件升級到下列已修補版本。
- —升級至 8.5.72 或更新版本
- —升級至 9.0.43-2~deb11u3 或更新版本
- —升級至 9.0.43-2~deb11u3 或更新版本
- —升級至 10.1.0-M6 或更新版本
CVE-2021-42340 正在被利用嗎?
中等 — EPSS 為 11.0%,可持續追蹤但非最高優先。
受影響套件(4)
- >= 8.5.60, < 8.5.72, >= 9.0.40, < 9.0.54, >= 10.0.1, < 10.0.12
- from 0, < 9.0.43-2~deb11u3
- from 0, < 9.0.43-2~deb11u3
- >= 10.1.0-M1, < 10.1.0-M6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |