CVE-2022-29167
node-hawk - security update
描述
Hawk is an HTTP authentication scheme providing mechanisms for making authenticated HTTP requests with partial cryptographic verification of the request and response, covering the HTTP method, request URI, host, and optionally the request payload. Hawk used a regular expression to parse `Host` HTTP header (`Hawk.utils.parseHost()`), which was subject to regular expression DoS attack - meaning each added character in the attacker's input increases the computation time exponentially. `parseHost()` was patched in `9.0.1` to use built-in `URL` class to parse hostname instead. `Hawk.authenticate()` accepts `options` argument. If that contains `host` and `port`, those would be used instead of a call to `utils.parseHost()`.
如何修補 CVE-2022-29167
要修補 CVE-2022-29167,請將受影響套件升級到下列已修補版本。
- —升級至 8.0.1+dfsg-2+deb11u1 或更新版本
- —升級至 6.0.1+dfsg-1+deb10u1 或更新版本
- —升級至 9.0.1 或更新版本
CVE-2022-29167 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 8.0.1+dfsg-2+deb11u1
- from 0, < 6.0.1+dfsg-1+deb10u1
- from 0, < 9.0.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H |