GitHub Advisoryadvisory · RubyGems

GHSA-mqm2-cgpr-p4m6 Unintended read access in kramdown gem

CRITICAL Published 2020-08-07 Modified 2022-04-29 Official page ↗
Aliases
CVE-2020-14001
Ecosystem
RubyGems
Packages
kramdown
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-862
Reviewed
2020-08-07

Affected packages

• RubyGems kramdown: < 2.3.0 → fixed in 2.3.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-14001 The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read… vulnerability

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References