Vulnerability · Published Jun 1, 2022 · Assigned by JFROG
CVE-2021-43308Exponential ReDoS in markdown-link-extractor
Medium 5.9
In plain English
A medium-severity regular-expression denial of service in markdown-link-extractor from markdown-link-extractor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.1%top 34.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the markdown-link-extractor npm package, when an attacker is able to supply arbitrary input to the module's exported function
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | markdown-link-extractor | 3.0.2 | GHSA-mmh6-m7v9-5956 |
| npm | markdown-link-extractor | 4.0.1 | GHSA-mmh6-m7v9-5956 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| markdown-link-extractor | markdown-link-extractor | unspecified – before 3.0.2 |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H