~ / search / GHSA-mqm2-cgpr-p4m6

GHSA-mqm2-cgpr-p4m6

Unintended read access in kramdown gem

Source: GitHub Advisory Database (reviewed) Critical CVE-2020-14001

Packages

EcosystemPackageAffectedFixed in
RubyGems kramdown < 2.3.0 2.3.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.