CVE-2020-14001: Critical severity kramdown vulnerability

Published Jul 17, 2020
·
Updated

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.

Affected Software

18 affected componentsFixes available
rubygems/kramdown<2.3.0
2.3.0
debian/ruby-kramdown<=1.17.0-4, <=1.17.0-1
2.3.0-11.17.0-1+deb10u1
ubuntu/ruby-kramdown<1.17.0-4ubuntu0.1
1.17.0-4ubuntu0.1
ubuntu/ruby-kramdown<1.17.0-4ubuntu0.20.10.1
1.17.0-4ubuntu0.20.10.1
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
ubuntu/ruby-kramdown<2.3.0-4
2.3.0-4
debian/ruby-kramdown
2.3.0-52.4.0-2
Kramdown Project Kramdown Ruby<2.3.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Canonical Ubuntu Linux=20.04

Event History

Jul 17, 2020
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·03:27 PM
Data Sourced
via MITRE·03:27 PM
Description
Aug 7, 2020
Advisory Published
10:27 PM
Jan 11, 2024
Data Sourced
via Launchpad·11:39 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-14001?

CVE-2020-14001 is a vulnerability in the kramdown gem before 2.3.0 for Ruby that allows unintended read access or unintended embedded Ruby code execution.

2

How severe is CVE-2020-14001?

CVE-2020-14001 has a severity rating of 9.8 (critical).

3

How can I fix CVE-2020-14001?

To fix CVE-2020-14001, update kramdown to version 2.3.0 or later.

4

What software is affected by CVE-2020-14001?

CVE-2020-14001 affects kramdown gem before 2.3.0 for Ruby.

5

Where can I find more information about CVE-2020-14001?

You can find more information about CVE-2020-14001 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-14001), [GitHub Commit](https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde), [GitHub Comparison](https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203