CVE-2022-29167

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29167
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-29167.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-29167
Aliases
Related
Published
2022-05-05T23:15:09Z
Modified
2024-10-12T09:26:40.659005Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Debian:11 / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/debian/node-hawk?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1+dfsg-2+deb11u1

Affected versions

8.*

8.0.1+dfsg-1
8.0.1+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/debian/node-hawk?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/debian/node-hawk?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/mozilla/hawk

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/hawk
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed