MODERATE 6.9

CVE-2018-25110

Marked allows Regular Expression Denial of Service (ReDoS) attacks

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.mvnpm » markedvia npm marked
< 0.3.17
0.3.17
org.webjars » markedvia npm marked
< 0.3.17
0.3.17
org.webjars.npm » markedvia npm marked
< 0.3.17
0.3.17

Blast radius

3affected artifacts
12affected versions
26dependent artifacts (est.)
63dependent versions

57% of the dependent artifacts (15) still pull an affected version in their latest release.

DepthDependent versions
Direct
25
2 hops
32
3 hops
6

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV