CVE-2018-25110
Marked allows Regular Expression Denial of Service (ReDoS) attacks
7.5
HIGH
CVSS 3.1
EPSS 0.77%
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 CVE-2018-25110
To remediate CVE-2018-25110, upgrade the affected package to a fixed version below.
- —upgrade to 0.5.1+dfsg-1 or later
- —upgrade to 0.3.17 or later
Is CVE-2018-25110 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.5.1+dfsg-1
- from 0, < 0.3.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |