Advisory

GHSA-mqm2-cgpr-p4m6

Also known as: CVE-2020-14001

Summary

Unintended read access in kramdown gem

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-08-07 22:27 UTC
Modified
2024-02-18 05:27 UTC

Affected packages and fixes

kramdown

RubyGems · All systems

Affected

  • introduced 0, fixed 2.3.0 (ecosystem)

Fixed versions

2.3.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences