The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-PARSELINKHEADER-1582783 | exploit third party advisory patch |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2321973 | exploit third party advisory patch |
https://github.com/thlorenz/parse-link-header/commit/72f05c717b3f129c5331a07bf300ed8886eb8ae1 | third party advisory patch |