Vulnerability
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 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.
16 advisories report this vulnerability, across 7 ecosystems.
Advisories
-
ALPINE-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 access (such as template="/etc/passwd") or unintended embedded Ruby code execution…
- ALPINE-EDGE-CVE-2020-14001
-
DEBIAN-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 access (such as template="/etc/passwd") or unintended embedded Ruby code execution…
-
DLA-2316-1
ruby-kramdown - security update
-
DSA-4743-1
ruby-kramdown - security update
-
GHSA-mqm2-cgpr-p4m6
Unintended read access in kramdown gem
-
OESA-2021-1280
rubygem-kramdown security update
-
SUSE-SU-2022:3259-1
Security update for rubygem-kramdown
-
UBUNTU-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 access (such as template="/etc/passwd") or unintended embedded Ruby code execution…
-
USN-4562-1
ruby-kramdown vulnerability
-
USN-9060-1
ruby-kramdown vulnerability
-
openSUSE-SU-2024:12038-1
ruby3.1-rubygem-kramdown-2.4.0-1.1 on GA media
-
openSUSE-SU-2024:13161-1
ruby3.2-rubygem-kramdown-2.4.0-1.8 on GA media
-
openSUSE-SU-2024:14170-1
ruby3.3-rubygem-kramdown-2.4.0-1.12 on GA media
-
openSUSE-SU-2025:15119-1
ruby3.4-rubygem-kramdown-2.4.0-1.15 on GA media
-
openSUSE-SU-2026:10352-1
ruby4.0-rubygem-kramdown-2.4.0-1.17 on GA media
References
- https://github.com/gettalong/kramdown
- https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde
- https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0
- https://kramdown.gettalong.org
- https://kramdown.gettalong.org/news.html
- https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L/
- https://rubygems.org/gems/kramdown
- https://security.netapp.com/advisory/ntap-20200731-0004/
- https://usn.ubuntu.com/4562-1/
- https://www.debian.org/security/2020/dsa-4743