CVE-2020-14001

rubygem-kramdown: processing template options inside documents allows unintended read access or embedded Ruby code execution

Published Jul 17, 2020 CVSS 3.1 · 9.8 Critical EPSS 4.6% KEV · Not listed
Description
The kramdown gem before 2.3.0 for Ruby 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://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2316-1 ruby-kramdown security update
Debian DSA Debian DSA DSA-4743-1 ruby-kramdown security update
EUVD EUVD EUVD-2020-0635 The kramdown gem before 2.3.0 for Ruby 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://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.
Github GHSA Github GHSA GHSA-mqm2-cgpr-p4m6 Unintended read access in kramdown gem
Ubuntu USN Ubuntu USN USN-4562-1 kramdown vulnerability
Ubuntu USN Ubuntu USN USN-4562-2 kramdown vulnerability
Ubuntu USN Ubuntu USN USN-9060-1 kramdown vulnerability

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 12:32 PM
Reserved
Jun 10, 2020, 12:00 AM
Status
Modified
Published
Jul 17, 2020, 4:15 PM
Modified
Jun 17, 2026, 2:54 AM
Severity
Important
Public date
Jun 27, 2020, 12:00 AM