DEBIAN-CVE-2022-29167
Record from OSV · Published May 5, 2022
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()`.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| node-hawk | Debian:13 | 9.0.1-1 |
| node-hawk | Debian:14 | 9.0.1-1 |
| node-hawk | Debian:12 | 9.0.1-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | node-hawk | 0 |
| Debian:14 | node-hawk | 0 |
| Debian:12 | node-hawk | 0 |
Timeline
- May 5, 2022 CVE Published
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2022-29167
vulnetix vdb fixes DEBIAN-CVE-2022-29167
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2022-29167/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart