Unintended read access in kramdown gem
Critical severity
GitHub Reviewed
Published
Aug 7, 2020
to the GitHub Advisory Database
•
Updated Aug 28, 2023
Description
Published by the National Vulnerability Database
Jul 17, 2020
Reviewed
Aug 7, 2020
Published to the GitHub Advisory Database
Aug 7, 2020
Last updated
Aug 28, 2023
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.
References