CVE-2016-10520: Regular Expression Denial of Service in jadedown
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.55713%
CWE
Published
2/18/2019
Updated
9/11/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
jadedown | npm | <= 0.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The PoC demonstrates the vulnerability is triggered by passing malicious input directly to the jadedown()
function. While the exact regex patterns aren't visible without source code, the exponential time complexity shown in the PoC results (processing time spiking from nanoseconds to 5 seconds with only 48 characters) strongly indicates the main parsing function contains vulnerable regex patterns. The pattern of 'f's followed by '#'s and '{' likely matches a regex with poor backtracking behavior in the Markdown-to-HTML conversion logic. As jadedown
is the primary entry point and no other functions are mentioned in advisories, we conclude the main jadedown
function contains the vulnerable regex logic.