cve.bz

CVE-2022-29167 mozilla hawk: Uncontrolled Resource Consumption

7.5 highEPSS 1.1%Fix available

High (7.5) in mozilla hawk. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in hawk 9.0.1.

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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-29167 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29167?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29167?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29167 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mozilla:hawkbefore 9.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-44pw-h2cw-w3vqnpmhawk<9.0.19.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10node-hawk6.0.1+dfsg-1+deb10u1DLA-3246-1
Debian12, 13, 14node-hawk9.0.1-1DEBIAN-CVE-2022-29167
Ubuntu18.04:LTSnode-hawk6.0.1+dfsg-1+deb10u1build0.18.04.1UBUNTU-CVE-2022-29167 USN-6116-1
Ubuntu20.04:LTSnode-hawk7.1.2+dfsg-1ubuntu0.1UBUNTU-CVE-2022-29167 USN-6116-1
Ubuntu22.04:LTSnode-hawk8.0.1+dfsg-1ubuntu0.22.04.1UBUNTU-CVE-2022-29167 USN-6116-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is out of support scope and will not be addressed for the dotnet-5.0 product. Please see https://access.redhat.com/support/policy/updates/net-core for more information about dotnet support scope.

ProductPackageStateAdvisory
.NET Core 3.1 on Red Hat Enterprise Linuxrh-dotnet31-dotnetNot affected
.NET Core 5.0 on Red Hat Enterprise Linuxrh-dotnet50-dotnetOut of support scope
Red Hat Enterprise Linux 6firefoxOut of support scope
Red Hat Enterprise Linux 7firefoxOut of support scope
Red Hat Enterprise Linux 8dotnet3.1Not affected
Red Hat Enterprise Linux 8dotnet5.0Not affected
Red Hat Enterprise Linux 8firefoxWill not fix
Red Hat Enterprise Linux 8firefox:flatpak/firefoxWill not fix
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8thunderbirdWill not fix
Red Hat Enterprise Linux 8thunderbird:flatpak/thunderbirdWill not fix
Red Hat Enterprise Linux 9firefoxWill not fix
Red Hat Enterprise Linux 9firefox:flatpak/firefoxWill not fix
Red Hat Enterprise Linux 9gjsWill not fix
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9thunderbirdWill not fix
Red Hat Enterprise Linux 9thunderbird:flatpak/thunderbirdWill not fix
Red Hat Fuse 7hawkWill not fix
Red Hat JBoss Data Grid 7hawkOut of support scope
Red Hat Quay 3quay/quay-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-29167.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON