Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Kramdown Project | Kramdown | < 2.3.0 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 31 |
| Canonical | Ubuntu Linux | 20.04 |
Related Weaknesses (CWE)
References
- https://github.com/gettalong/kramdownThird Party Advisory
- https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c93PatchThird Party Advisory
- https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0PatchThird Party Advisory
- https://kramdown.gettalong.orgVendor Advisory
- https://kramdown.gettalong.org/news.htmlRelease NotesVendor Advisory
- https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fb
- https://lists.debian.org/debian-lts-announce/2020/08/msg00014.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://rubygems.org/gems/kramdownThird Party Advisory
- https://security.netapp.com/advisory/ntap-20200731-0004/Third Party Advisory
- https://usn.ubuntu.com/4562-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4743Third Party Advisory
- https://github.com/gettalong/kramdownThird Party Advisory
- https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c93PatchThird Party Advisory
FAQ
What is CVE-2020-14001?
CVE-2020-14001 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 R...
How severe is CVE-2020-14001?
CVE-2020-14001 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2020-14001?
Check the references section above for vendor advisories and patch information. Affected products include: Kramdown Project Kramdown, Debian Debian Linux, Fedoraproject Fedora, Canonical Ubuntu Linux.