CVE-2020-14001
CRITICAL 9.8CVSS 3.1Unintended read access in kramdown gem
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.
- Published
- 17 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862
- Also known as
- GHSA-mqm2-cgpr-p4m6
- Sources
- NVDJSONOSV GHSA-mqm2-cgpr-p4m6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kramdown_project | kramdowncpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:* |
< 2.3.0 | 2.3.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* |
= 20.04 | |
| OSV | RubyGems | kramdown | < 2.3.0 | 2.3.0 |
References
- https://github.com/gettalong/kramdown · Third Party Advisory, PACKAGE
- https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde · Patch, Third Party Advisory, WEB
- https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0 · Patch, Third Party Advisory, WEB
- https://kramdown.gettalong.org · Vendor Advisory, WEB
- https://kramdown.gettalong.org/news.html · Release Notes, Vendor Advisory, WEB
- https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html · Mailing List, Third Party Advisory, WEB
- 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 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20200731-0004/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/4562-1/ · Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4743 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14001 · ADVISORY
- https://github.com/advisories/GHSA-mqm2-cgpr-p4m6 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kramdown/CVE-2020-14001.yml · WEB
- https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2@%3Cnotifications.fluo.apache.org%3E · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 17 Jul 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Aug 2020)