Remote Code Execution Affecting kramdown package, versions <2.3.0
Snyk CVSS
Attack Complexity
Low
Privileges Required
High
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
EPSS
1.02% (83rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-KRAMDOWN-585939
- published 19 Jul 2020
- disclosed 19 Jul 2020
- credit Unknown
Introduced: 19 Jul 2020
CVE-2020-14001 Open this link in a new tabHow to fix?
Upgrade kramdown
to version 2.3.0 or higher.
Overview
kramdown is a Yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition and supporting several common extensions.
Affected versions of this package are vulnerable to Remote Code Execution. The gem processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template="string://<%= `).