linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| markdown-it | linkify-it | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Markdown-it | Linkify-it |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v245-v573-v5vm | linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.467% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:markdown-it:linkify-it:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Markdown-it
Markdown-it linkify-it |
|
| Vendors & Products |
Markdown-it
Markdown-it linkify-it |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2. | |
| Title | linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text | |
| Weaknesses | CWE-407 | |
| References |
| |
| Metrics |
cvssV3_1
|