Skip to content

Regular Expression Denial of Service in hawk

High severity GitHub Reviewed Published Jul 31, 2018 to the GitHub Advisory Database • Updated Apr 11, 2023

Package

npm hawk (npm)

Affected versions

< 3.1.3
>= 4.0.0, < 4.1.1

Patched versions

3.1.3
4.1.1

Description

Versions of hawk prior to 3.1.3, or 4.x prior to 4.1.1 are affected by a regular expression denial of service vulnerability related to excessively long headers and URI's.

Recommendation

Update to hawk version 4.1.1 or later.

References

Published to the GitHub Advisory Database Jul 31, 2018
Reviewed Jun 16, 2020
Last updated Apr 11, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2016-2515

GHSA ID

GHSA-jcpv-g9rr-qxrc

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.