CVE-2018-25110: Regular Expression Denial of Service (ReDoS) in markedjs/marked
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2018-25110?
CVE-2018-25110 has been classified as a moderate severity vulnerability due to its potential for denial of service attacks.
How do I fix CVE-2018-25110?
To mitigate CVE-2018-25110, upgrade the marked library to version 0.3.17 or later.
What is a Regular Expression Denial of Service (ReDoS) attack in CVE-2018-25110?
In CVE-2018-25110, a ReDoS attack exploits inefficient regular expressions that cause excessive backtracking, leading to performance degradation.
Which versions of marked are affected by CVE-2018-25110?
CVE-2018-25110 affects all versions of marked prior to 0.3.17.
Can an attacker exploit CVE-2018-25110 remotely?
Yes, an attacker can exploit CVE-2018-25110 remotely by sending specially crafted input that triggers the regular expression vulnerabilities.