{"id":"CVE-2020-14001","aliases":["CVE-2020-14001","GHSA-mqm2-cgpr-p4m6"],"related":[],"kind":"vulnerability","state":"published","title":"Unintended read access in kramdown gem","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La gema kramdown versiones anteriores a 2.3.0 para Ruby procesa la opción de plantilla dentro de los documentos de Kramdown por defecto, lo que permite el acceso de lectura no deseada (tal y como template=\"/etc/passwd\") o la ejecución de código Ruby insertado no previsto (tal y como una cadena que comienza con template=\"string://(%= \"). NOTA: kramdown es usado en Jekyll, GitLab Pages, GitHub Pages y Thredded Forum","source":"nvd"}],"published":"2020-07-17T15:27:54.000Z","modified":"2026-06-17T02:54:04.953Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"RubyGems","package":"kramdown","purl":"pkg:gem/kramdown","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.3.0"}],"vendor":"kramdown_project","product":"kramdown","cpe":"cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"31"},{"status":"affected","version":"32"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gettalong/kramdown","tags":["package","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://kramdown.gettalong.org","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://rubygems.org/gems/kramdown","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://kramdown.gettalong.org/news.html","tags":["release-notes","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20200731-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2020/dsa-4743","tags":["third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/4562-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14001","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mqm2-cgpr-p4m6","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kramdown/CVE-2020-14001.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2@%3Cnotifications.fluo.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20200731-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4562-1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-14001","url":"https://www.cve.org/CVERecord?id=CVE-2020-14001","licence":"CVE Terms of Use","modified":"2024-08-04T12:32:14.657Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mqm2-cgpr-p4m6","url":"https://github.com/advisories/GHSA-mqm2-cgpr-p4m6","licence":"CC-BY-4.0","modified":"2024-02-18T05:27:22.932Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-14001","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14001","licence":"Public domain","modified":"2026-06-17T02:54:04.953Z"}],"updatedAt":"2026-11-25T22:57:53.535Z","epss":{"score":0.0456,"percentile":0.91795,"date":"2026-12-01T12:00:22.000Z"}}