Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. kramdown
  4. ›
  5. CVE-2020-14001

CVE-2020-14001: Injection Vulnerability

July 17, 2020 (updated July 21, 2021)

The kramdown gem 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.

References

  • kramdown.gettalong.org/
  • kramdown.gettalong.org/news.html
  • nvd.nist.gov/vuln/detail/CVE-2020-14001

Code Behaviors & Features

Detect and mitigate CVE-2020-14001 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.0

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

gem/kramdown/CVE-2020-14001.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.