ADVISORIES

openEuler Security Advisory

OESA-2021-1280

rubygem-kramdown security update

Critical CVE-2020-14001

Details

kramdown is yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition and supporting several common extensions.

Security Fix(es):

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.(CVE-2020-14001)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1rubygem-kramdown
All versions before 2.1.0-3.oe1 (fixed in 2.1.0-3.oe1)
openEuler:20.03-LTS-SP2rubygem-kramdown
All versions before 2.1.0-3.oe1 (fixed in 2.1.0-3.oe1)

References