# CVE-2022-29167: node-hawk: Hawk is an HTTP authentication scheme providing mechanisms for making authenticated HTTP requests with partial crypto...

CVE-2022-29167 is fixed in node-hawk on 1 platform, first by node-hawk 6.0.1+dfsg-1+deb10u1build0.18.04.1, released May 5, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-29167
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0110
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 5, 2022

## Description

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()`.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | node-hawk Debian 12.15 (bookworm) | 9.0.1-1 | [DEBIAN-CVE-2022-29167](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29167.md) | May 5, 2022 |
| Linux | node-hawk Debian 13.5 (trixie) | 9.0.1-1 | [DEBIAN-CVE-2022-29167](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29167.md) | May 5, 2022 |
| Linux | node-hawk Debian 14 | 9.0.1-1 | [DEBIAN-CVE-2022-29167](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29167.md) | May 5, 2022 |
| Linux | node-hawk Ubuntu 18.04.6 LTS (bionic) | 6.0.1+dfsg-1+deb10u1build0.18.04.1 | [node-hawk 6.0.1+dfsg-1+deb10u1build0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-node-hawk-6.0.1-dfsg-1-deb10u1build0.18.04.1.md) | May 5, 2022 |
| Linux | node-hawk Ubuntu 20.04 LTS (focal) | 7.1.2+dfsg-1ubuntu0.1 | [node-hawk 7.1.2+dfsg-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-node-hawk-7.1.2-dfsg-1ubuntu0.1.md) | May 5, 2022 |
| Linux | node-hawk Ubuntu 22.04.1 LTS (jammy) | 8.0.1+dfsg-1ubuntu0.22.04.1 | [node-hawk 8.0.1+dfsg-1ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-node-hawk-8.0.1-dfsg-1ubuntu0.22.04.1.md) | May 5, 2022 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
