CVE-2022-29167
Last modified
CVE-2022-29167 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.96% chance of exploitation in the next 30 days.
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()`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Hawk | < 9.0.1 |
References
- https://github.com/mozilla/hawk/pull/286Patch, Third Party Advisory
- https://github.com/mozilla/hawk/security/advisories/GHSA-44pw-h2cw-w3vqPatch, Third Party Advisory
- https://github.com/mozilla/hawk/pull/286Patch, Third Party Advisory
- https://github.com/mozilla/hawk/security/advisories/GHSA-44pw-h2cw-w3vqPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29167?
How severe is CVE-2022-29167?
How do I fix CVE-2022-29167?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-29161XWiki Platform is a generic wiki platform offering runtime s…9.8
- CVE-2022-29162runc is a CLI tool for spawning and running containers on Li…7.8
- CVE-2022-29163Nextcloud Server is the file server software for Nextcloud, …4.3
- CVE-2022-29164Argo Workflows is an open source container-native workflow e…7.1
- CVE-2022-29165Argo CD is a declarative, GitOps continuous delivery tool fo…10
- CVE-2022-29166matrix-appservice-irc is a Node.js IRC bridge for Matrix. Th…8.8
- CVE-2022-29168Wire is a secure messaging application. Wire is vulnerable t…6.1
- CVE-2022-29169BigBlueButton is an open source web conferencing system. Ver…7.5
- CVE-2022-29170Grafana is an open-source platform for monitoring and observ…8.5
- CVE-2022-29171Sourcegraph is a fast and featureful code search and navigat…7.2
- CVE-2022-29172Auth0 is an authentication broker that supports both social …6.1
- CVE-2022-29173go-tuf is a Go implementation of The Update Framework (TUF).…8.8
Are you affected by CVE-2022-29167?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
