CVE-2020-14040
Infinite loop when decoding some inputs in golang.org/x/text
7.5
HIGH
CVSS 3.1
EPSS 1.9%
描述
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.
如何修補 CVE-2020-14040
要修補 CVE-2020-14040,請將受影響套件升級到下列已修補版本。
- —升級至 0.3.3-1 或更新版本
- —升級至 0.3.3 或更新版本
- —升級至 0.3.3 或更新版本
CVE-2020-14040 正在被利用嗎?
低 — EPSS 為 1.9%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 0.3.3-1
- from 0, < 0.3.3
- from 0, < 0.3.3
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/E:P/RL:O/RC:C |