ADVISORIES

GitHub Advisory Database

GHSA-mqm2-cgpr-p4m6

Unintended read access in kramdown gem

Critical CVE-2020-14001

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemskramdown
All versions before 2.3.0 (fixed in 2.3.0)

References