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.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0110
65th percentile

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

ProductFixed inFixReleased
Linux
node-hawk · Debian 12.15 (bookworm) 9.0.1-1 DEBIAN-CVE-2022-29167 May 5, 2022
node-hawk · Debian 13.5 (trixie) 9.0.1-1 DEBIAN-CVE-2022-29167 May 5, 2022
node-hawk · Debian 14 9.0.1-1 DEBIAN-CVE-2022-29167 May 5, 2022
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 May 5, 2022
node-hawk · Ubuntu 20.04 LTS (focal) 7.1.2+dfsg-1ubuntu0.1 node-hawk 7.1.2+dfsg-1ubuntu0.1 May 5, 2022
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 May 5, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.