VDB
Sign up
CRITICAL9.8

GHSA-mqm2-cgpr-p4m6

Unintended read access in kramdown gem

Quick fix

GHSA-mqm2-cgpr-p4m6 — kramdown: upgrade to the fixed version with the command below.

bundle update kramdown

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/kramdown
Introduced in: 0Fixed in: 2.3.0
Fixbundle update kramdown

References