Quick answers
- Is CVE-2015-10005 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2015-10005 being exploited in the wild.
- How severe is CVE-2015-10005?
- Low severity, with a CVSS score of 3.1, published 27 December 2022.
- Which products and versions are affected?
- markdown-it (npm) SEMVER:introduced=0,fixed=3.0.0.
- Is there a fix for CVE-2015-10005?
- Yes. markdown-it (npm): upgrade to 3.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2015-10005 attacked?
- It is attacked over the network.
- Am I affected by CVE-2015-10005?
- Check whether you run markdown-it (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- markdown-it (npm): upgrade to 3.0.0 or later
npm install markdown-it@3.0.0
Technical details
The vulnerability is a ReDoS (Regular Expression Denial of Service) issue in the HTML regex patterns located in lib/common/html_re.js, specifically affecting the CDATA handling regex. The flaw involves an inefficient regular expression (CWE-1333) that can exhibit catastrophic backtracking when processing malicious input. An unauthenticated attacker can send specially crafted Markdown input to an application using vulnerable versions of markdown-it, causing the regex engine to consume excessive CPU resources and hang the application. The vulnerability affects all versions prior to 3.0.0, which introduced a regex fix (commit 89c8620). Patching involves upgrading to version 3.0.0 or later.
Affected products
- markdown-it markdown-it < 3.0.0
Identifiers
- CVE-2015-10005
- GHSA-j5p7-jf4q-742q
Timeline
- 2022-12-27: disclosed
- 2022-12-27: patched: Fixed in version 3.0.0