markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.
CVE-2022-21670 - Medium Severity Vulnerability
Vulnerable Library - markdown-it-8.4.2.tgz
Markdown-it - modern pluggable markdown parser.
Library home page: https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/markdown-it/package.json
Dependency Hierarchy: - markdown-1.0.0-alpha.46.tgz (Root Library) - :x: **markdown-it-8.4.2.tgz** (Vulnerable Library)
Found in HEAD commit: 15259394ab3cb42064e49cdeedd2b6e694efc7d6
Found in base branch: public-files-with-tests
Vulnerability Details
markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.
Publish Date: 2022-01-10
URL: CVE-2022-21670
CVSS 3 Score Details (5.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c
Release Date: 2022-01-10
Fix Resolution: markdown-it - 12.3.2
Step up your Open Source Security Game with Mend here