PT-2020-6146 · Ruby+4 · Kramdown+4
Published
2020-07-17
·
Updated
2026-03-13
·
CVE-2020-14001
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
kramdown gem versions prior to 2.3.0
Description
The issue exists due to the kramdown gem's failure to neutralize special elements, allowing a remote attacker to execute arbitrary code. This can lead to unintended read access or execution of embedded Ruby code. For example, an attacker could exploit this by using a string that begins with
template=, allowing access to sensitive files like /etc/passwd or executing Ruby code.Recommendations
For versions prior to 2.3.0, update to version 2.3.0 or later to resolve the issue. As a temporary workaround, consider disabling the template option inside Kramdown documents to minimize the risk of exploitation. Restrict access to sensitive files and embedded Ruby code execution until the issue is resolved.
Exploit
Fix
Missing Authorization
Special Elements Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Suse
Ubuntu
Kramdown