CVE-2020-14001
Kramdown Project Kramdown vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Kramdown, Debian Linux, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Kramdown Project Kramdown runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- kramdown.gettalong.org · Vendor Advisory
- kramdown.gettalong.org/news.html · Vendor Advisory
- github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde · Patch
- github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0 · Patch
- github.com/gettalong/kramdown · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/08/msg00014.html · Third Party Advisory
- rubygems.org/gems/kramdown · Third Party Advisory
- security.netapp.com/advisory/ntap-20200731-0004/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-14001
- cve.org/CVERecord?id=CVE-2020-14001
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.