7.5

CVE-2022-29167: mozilla hawk Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighModified
AliasesMGASA-2024-0086UBUNTU-CVE-2022-29167USN-6116-1
Published 05-05-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-29167 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in mozilla hawk. EPSS estimates a 1.10% chance of exploitation in the next 30 days, higher than 65.1% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.10%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 05-05-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.10%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

-0.01 pp

From 1.11% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.10%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • node-hawk< 6.0.1+dfsg-1+deb10u1 | < 9.0.1-1
Mageia1 product
  • nodejs-hawk< 7.0.10-4.1.mga9
Mozilla1 product
Npm1 product
  • hawk< 9.0.1
Ubuntu1 product
  • node-hawk< 6.0.1+dfsg-1+deb10u1build0.18.04.1 | < 7.1.2+dfsg-1ubuntu0.1 | < 8.0.1+dfsg-1ubuntu0.22.04.1

5 vendors · 5 products

References

13 links
Show all 13 references