Miggo Logo

CVE-2019-25102: Regular Expression Denial of Service in simple-markdown

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.24517%
Published
2/12/2023
Updated
10/20/2023
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
simple-markdownnpm< 0.6.10.6.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability was explicitly fixed by modifying the autolink regex in simple-markdown.js (changed from /^<([^ >]+:/[^ >]+)>/ to /^<([^: >]+:/[^ >]+)>/). The commit message and CWE-1333 classification confirm this was an inefficient regex pattern. The attack vector demonstrates exploitation through the autolink parsing logic, and no other code changes were made in the patching commit.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* vuln*r**ility, w*i** w*s *l*ssi*i** *s pro*l*m*ti*, w*s *oun* in simpl*-m*rk*own *.*.*. *****t** is *n unknown *un*tion o* t** *il* simpl*-m*rk*own.js. T** m*nipul*tion wit* t** input <<<<<<<<<<:/:/:/:/:/:/:/:/:/:/ l***s to in***i*i*nt r**ul*r *xpr

Reasoning

T** vuln*r**ility w*s *xpli*itly *ix** *y mo*i*yin* t** *utolink r***x in `simpl*-m*rk*own.js` (***n*** *rom /^<([^ >]+:\/[^ >]+)>/ to /^<([^: >]+:\/[^ >]+)>/). T** *ommit m*ss*** *n* *W*-**** *l*ssi*i**tion *on*irm t*is w*s *n in***i*i*nt r***x p*tt