parse-link-header@0.4.1 vulnerabilities

Parses a link header and returns paging information for each contained link.

Direct Vulnerabilities

Known vulnerabilities in the parse-link-header package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

parse-link-header is a package that parses a link header and returns paging information for each contained link.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade parse-link-header to version 2.0.0 or higher.

<2.0.0