CVE-2022-41715
Memory exhaustion when compiling regular expressions in regexp/syntax
7.5
HIGH
CVSS 3.1
EPSS 1.3%
描述
Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.
如何修補 CVE-2022-41715
要修補 CVE-2022-41715,請將受影響套件升級到下列已修補版本。
- —升級至 1.18.7 或更新版本
CVE-2022-41715 正在被利用嗎?
低 — EPSS 為 1.3%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 1.18.7, >= 1.19.0-0, < 1.19.2
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 |