UBUNTU-CVE-2022-29167

Source
https://ubuntu.com/security/CVE-2022-29167
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-29167.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-29167
Related
Published
2022-05-05T23:15:00Z
Modified
2022-05-05T23:15:00Z
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

Ubuntu:18.04:LTS / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/ubuntu/node-hawk?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.1+dfsg-1+deb10u1build0.18.04.1

Affected versions

6.*

6.0.1+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "6.0.1+dfsg-1+deb10u1build0.18.04.1",
            "binary_name": "node-hawk"
        }
    ]
}

Ubuntu:20.04:LTS / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/ubuntu/node-hawk?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.1.2+dfsg-1ubuntu0.1

Affected versions

7.*

7.1.1+dfsg-2
7.1.2+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "7.1.2+dfsg-1ubuntu0.1",
            "binary_name": "node-hawk"
        }
    ]
}

Ubuntu:22.04:LTS / node-hawk

Package

Name
node-hawk
Purl
pkg:deb/ubuntu/node-hawk?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1+dfsg-1ubuntu0.22.04.1

Affected versions

8.*

8.0.1+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.0.1+dfsg-1ubuntu0.22.04.1",
            "binary_name": "node-hawk"
        }
    ]
}