Lookup for vulnerable packages by Package URL.

Purlpkg:npm/hawk@5.1.0
Typenpm
Namespace
Namehawk
Version5.1.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version9.0.1
Latest_non_vulnerable_version9.0.1
Affected_by_vulnerabilities
0
url VCID-knss-jhn4-8ufw
vulnerability_id VCID-knss-jhn4-8ufw
summary
Regular Expression Denial of Service
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
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-29167.json
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-29167.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2022-29167
reference_id
reference_type
scores
0
value 0.0017
scoring_system epss
scoring_elements 0.37998
published_at 2026-06-07T12:55:00Z
1
value 0.0017
scoring_system epss
scoring_elements 0.37936
published_at 2026-06-04T12:55:00Z
2
value 0.0017
scoring_system epss
scoring_elements 0.38027
published_at 2026-06-05T12:55:00Z
3
value 0.0017
scoring_system epss
scoring_elements 0.3803
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2022-29167
2
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29167
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29167
3
reference_url https://github.com/mozilla/hawk
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/mozilla/hawk
4
reference_url https://github.com/mozilla/hawk/commit/d10d72ca82db967f6c5fcf866ff78e3ca25ce1ab
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/mozilla/hawk/commit/d10d72ca82db967f6c5fcf866ff78e3ca25ce1ab
5
reference_url https://github.com/mozilla/hawk/pull/286
reference_id
reference_type
scores
0
value 7.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:07:46Z/
url https://github.com/mozilla/hawk/pull/286
6
reference_url https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
reference_id
reference_type
scores
url https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS
7
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2082387
reference_id 2082387
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2082387
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2022-29167
reference_id CVE-2022-29167
reference_type
scores
0
value 7.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2022-29167
9
reference_url https://github.com/mozilla/hawk/security/advisories/GHSA-44pw-h2cw-w3vq
reference_id GHSA-44pw-h2cw-w3vq
reference_type
scores
0
value 7.4
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-23T14:07:46Z/
url https://github.com/mozilla/hawk/security/advisories/GHSA-44pw-h2cw-w3vq
10
reference_url https://usn.ubuntu.com/6116-1/
reference_id USN-6116-1
reference_type
scores
url https://usn.ubuntu.com/6116-1/
fixed_packages
0
url pkg:npm/hawk@9.0.1
purl pkg:npm/hawk@9.0.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/hawk@9.0.1
aliases CVE-2022-29167, GHSA-44pw-h2cw-w3vq
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-knss-jhn4-8ufw
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/hawk@5.1.0