GitHub Advisoryadvisory · npm
GHSA-q674-xm3x-2926 Uncontrolled Resource Consumption in parse-link-header
HIGH
Official page ↗
- Aliases
- CVE-2021-23490
- Ecosystem
- npm
- Packages
- parse-link-header
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2022-01-05
Affected packages
• npm parse-link-header: < 2.0.0 → fixed in 2.0.0
Description
The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.
Related
Alias · CVE (1)
- CVE-2021-23490 The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function. vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23490 advisory
- https://github.com/thlorenz/parse-link-header/commit/72f05c717b3f129c5331a07bf300ed8886eb8ae1 web
- https://github.com/thlorenz/parse-link-header package
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2321973 web
- https://snyk.io/vuln/SNYK-JS-PARSELINKHEADER-1582783 web