CVE-2018-25110
Description
Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.
How to fix
- marked_project marked0.3.17 or later
- marked0.3.17 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| marked_project marked | v < 0.3.17 | 0.3.17 |
| markednpm | v < 0.3.17 | 0.3.17 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.