An update for nodejs-hawk is now available for openEuler-20.03-LTS-SP1, openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2022-1667
Final
1.0
1.0
2022-05-20
Initial
2022-05-20
2022-05-20
openEuler SA Tool V1.0
2022-05-20
nodejs-hawk security update
An update for nodejs-hawk is now available for openEuler-20.03-LTS-SP1, openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.
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)
An update for nodejs-hawk is now available for openEuler-20.03-LTS-SP1, openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
nodejs-hawk
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1667
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-29167
https://nvd.nist.gov/vuln/detail/CVE-2022-29167
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
nodejs-hawk-4.1.2-2.oe1.src.rpm
nodejs-hawk-4.1.2-2.oe1.src.rpm
nodejs-hawk-4.1.2-2.oe2203.src.rpm
nodejs-hawk-4.1.2-2.oe1.noarch.rpm
nodejs-hawk-4.1.2-2.oe1.noarch.rpm
nodejs-hawk-4.1.2-2.oe2203.noarch.rpm
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().
2022-05-20
CVE-2022-29167
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nodejs-hawk security update
2022-05-20
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1667