CVE-2020-14001
Publication date 17 July 2020
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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 | 24.10 oracular |
Fixed 2.3.0-4
|
24.04 LTS noble |
Fixed 2.3.0-4
|
|
22.04 LTS jammy |
Fixed 2.3.0-4
|
|
20.04 LTS focal |
Fixed 1.17.0-4ubuntu0.1
|
|
18.04 LTS bionic |
Vulnerable
|
|
16.04 LTS xenial |
Vulnerable
|
|
14.04 LTS trusty | Not in release |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 · Critical |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
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
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