Vulnerability · Published Dec 24, 2021 · Assigned by snyk
CVE-2021-23490Regular Expression Denial of Service (ReDoS)
High 7.5
In plain English
A high-severity security flaw in parse-link-header. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | parse-link-header | 2.0.0 | GHSA-q674-xm3x-2926 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | parse-link-header | unspecified – before 2.0.0 |
References
- https://snyk.io/vuln/SNYK-JS-PARSELINKHEADER-1582783 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2321973 x_refsource_MISC
- https://github.com/thlorenz/parse-link-header/commit/72f05c717b3f129c5331a07bf300ed8886eb8ae1 x_refsource_MISC