CVE-2022-2596
node-fetch Inefficient Regular Expression Complexity
5.9
MEDIUM
CVSS 3.1
EPSS 1.1%
描述
[node-fetch](https://www.npmjs.com/package/node-fetch) is a light-weight module that brings window.fetch to node.js. Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the `isOriginPotentiallyTrustworthy()` function in `referrer.js`, when processing a URL string with alternating letters and periods, such as `'http://' + 'a.a.'.repeat(i) + 'a'`.
如何修補 CVE-2022-2596
要修補 CVE-2022-2596,請將受影響套件升級到下列已修補版本。
- —升級至 3.2.10 或更新版本
CVE-2022-2596 正在被利用嗎?
低 — EPSS 為 1.1%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 3.0.0, < 3.2.10
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |