CVE-2021-27918
Infinite loop when decoding inputs in encoding/xml
7.5
HIGH
CVSS 3.1
EPSS 2.5%
描述
encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.
如何修補 CVE-2021-27918
要修補 CVE-2021-27918,請將受影響套件升級到下列已修補版本。
- Bitnami/golang—升級至 1.15.9 或更新版本
- —升級至 1.15.9-1 或更新版本
- —升級至 1.15.9 或更新版本
CVE-2021-27918 正在被利用嗎?
低 — EPSS 為 2.5%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.15.9, >= 1.16.0, < 1.16.1
- from 0, < 1.15.9-1
- from 0, < 1.15.9, >= 1.16.0-0, < 1.16.1
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 |