{"id":"CVE-2020-14001","published":"2020-07-17T15:27:54Z","modified":"2024-08-04T12:32:14Z","title":"The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0456,"percentile":0.91813,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/gettalong/kramdown","tags":["x_refsource_MISC"]},{"url":"https://kramdown.gettalong.org","tags":["x_refsource_MISC"]},{"url":"https://rubygems.org/gems/kramdown","tags":["x_refsource_MISC"]},{"url":"https://kramdown.gettalong.org/news.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20200731-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2020/dsa-4743","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/4562-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.36}]},"affected":[{"ecosystem":"RubyGems","package":"kramdown","vulnerableRanges":["<2.3.0"],"patched":["2.3.0"],"from":["GHSA-mqm2-cgpr-p4m6"],"provenance":"source"}],"summary":{"text":"The kramdown gem for Ruby, before version 2.3.0, processes the template option inside Kramdown documents by default. It is used in products such as Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum. An attacker who can supply a Kramdown document to be processed can read arbitrary local files (for example via a template path such as /etc/passwd) or execute embedded Ruby code through a crafted template string, with no authentication or user interaction stated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:25Z"},"euvd":{"id":"EUVD-2020-0635","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-14001","published":"2020-07-17","fixed":"2.3.0","kev":false},{"cve":"CVE-2021-28834","published":"2021-03-19","fixed":"2.3.1","kev":false,"link":{"from":"CVE-2020-14001","to":"CVE-2021-28834","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:kramdown","fromFixed":"2.3.0","toFixed":"2.3.1","daysApart":245}]}}],"package":"RubyGems:kramdown"}}