OESA-2022-1667

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1667
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1667.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2022-1667
Upstream
Published
2022-05-20T11:03:48Z
Modified
2025-09-03T06:18:13.096193Z
Summary
nodejs-hawk security update
Details

Hawk is an HTTP authentication scheme using a message authentication code (MAC) algorithm to provide partial HTTP request cryptographic verification.

Security Fix(es):

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().(CVE-2022-29167)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / nodejs-hawk

Package

Name
nodejs-hawk
Purl
pkg:rpm/openEuler/nodejs-hawk&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.2-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-hawk-4.1.2-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-hawk-4.1.2-2.oe1.noarch.rpm"
    ]
}

Database specific

source

"https://repo.openeuler.org/security/data/osv/OESA-2022-1667.json"

openEuler:20.03-LTS-SP3 / nodejs-hawk

Package

Name
nodejs-hawk
Purl
pkg:rpm/openEuler/nodejs-hawk&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.2-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-hawk-4.1.2-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-hawk-4.1.2-2.oe1.noarch.rpm"
    ]
}

Database specific

source

"https://repo.openeuler.org/security/data/osv/OESA-2022-1667.json"

openEuler:22.03-LTS / nodejs-hawk

Package

Name
nodejs-hawk
Purl
pkg:rpm/openEuler/nodejs-hawk&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.2-2.oe2203

Ecosystem specific

{
    "src": [
        "nodejs-hawk-4.1.2-2.oe2203.src.rpm"
    ],
    "noarch": [
        "nodejs-hawk-4.1.2-2.oe2203.noarch.rpm"
    ]
}

Database specific

source

"https://repo.openeuler.org/security/data/osv/OESA-2022-1667.json"