CVE-2020-14001
CRITICAL9.8EPSS 7.5%ruby-kramdown - security update
Published: 8/7/2020Modified: 4/28/2026
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.
Affected packages (4)
- Debian/ruby-kramdownfrom 0, < 2.3.0-3
- Debian/ruby-kramdownfrom 0, < 1.12.0-1+deb9u1
- Debian/ruby-kramdownfrom 0, < 1.17.0-1+deb10u1
- RubyGems/kramdownfrom 0, < 2.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (17)
- ADVISORYhttps://github.com/advisories/GHSA-mqm2-cgpr-p4m6
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-14001
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-14001
- PATCHhttps://github.com/gettalong/kramdown
- WEBhttps://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde
- WEBhttps://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/kramdown/CVE-2020-14001.yml
- WEBhttps://kramdown.gettalong.org
- WEBhttps://kramdown.gettalong.org/news.html
- WEBhttps://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2@%3Cnotifications.fluo.apache.org%3E
- WEBhttps://lists.debian.org/debian-lts-announce/2020/08/msg00014.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L
- WEBhttps://rubygems.org/gems/kramdown
- WEBhttps://security.netapp.com/advisory/ntap-20200731-0004
- WEBhttps://usn.ubuntu.com/4562-1
- WEBhttps://www.debian.org/security/2020/dsa-4743