CVE-2020-14001
Publication date 17 July 2020
Last updated 12 November 2026
Ubuntu priority
Cvss 3 Severity Score
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.
From the Ubuntu Security Team
It was discovered that kramdown insecurely handled certain crafted input. An attacker could use this vulnerability to read restricted files or execute arbitrary code.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ruby-kramdown | 26.10 stonking |
Fixed in 2.3.0-4
|
| 26.04 LTS resolute |
Fixed in 2.3.0-4
|
|
| 24.04 LTS noble |
Fixed in 2.3.0-4
|
|
| 22.04 LTS jammy |
Fixed in 2.3.0-4
|
|
| 20.04 LTS focal |
Fixed in 1.17.0-4ubuntu0.1
|
|
| 18.04 LTS bionic |
Fixed in 1.15.0-1ubuntu0.1~esm1
|
|
| 16.04 LTS xenial |
Fixed in 1.10.0-1ubuntu0.1~esm1
|
|
| 14.04 LTS trusty | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version: CVSS v3.0
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
References
Related Ubuntu Security Notices (USN)
- USN-4562-1
- kramdown vulnerability
- 30 September 2020
- USN-4562-2
- kramdown vulnerability
- 26 October 2020
- USN-9060-1
- kramdown vulnerability
- 11 November 2026
Other references
- https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde
- https://github.com/gettalong/kramdown
- https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0
- https://kramdown.gettalong.org
- https://kramdown.gettalong.org/news.html
- https://rubygems.org/gems/kramdown
- https://www.cve.org/CVERecord?id=CVE-2020-14001