Auth bypass in Kramdown Project
CVE-2020-14001
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.046, 91.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kramdown Project
- Canonical Ubuntu Linux — versions 20.04
- Debian Linux — versions 9.0, 10.0
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/gettalong/kramdown (Third Party Advisory)
- kramdown.gettalong.org (Vendor Advisory)
- rubygems.org/gems/kramdown (Third Party Advisory)
- kramdown.gettalong.org/news.html (Release Notes, Vendor Advisory)
- github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde (Patch, Third Party Advisory)
- github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0 (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20200731-0004/ (Third Party Advisory)
- [fluo-notifications] 20200808 [GitHub] [fluo-website] ctubbsii opened a new pull request #194: Update gems (mailing-list)
- [debian-lts-announce] 20200809 [SECURITY] [DLA 2316-1] ruby-kramdown security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4743 (vendor-advisory, Third Party Advisory)