thlorenz/parse-link-header · Security
Uncontrolled Resource Consumption in parse-link-header
- GHSA ID
- GHSA-q674-xm3x-2926
- CVE ID
- CVE-2021-23490
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description
The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23490 ↗
- https://github.com/thlorenz/parse-link-header/commit/72f05c717b3f129c5331a07bf300ed8886eb8ae1 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2321973 ↗
- https://snyk.io/vuln/SNYK-JS-PARSELINKHEADER-1582783 ↗
- https://github.com/advisories/GHSA-q674-xm3x-2926 ↗