CVE-2020-14001
Published: 17 July 2020
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.
Priority
Status
Package | Release | Status |
---|---|---|
ruby-kramdown Launchpad, Ubuntu, Debian |
bionic |
Needed
|
focal |
Released
(1.17.0-4ubuntu0.1)
|
|
groovy |
Released
(1.17.0-4ubuntu0.20.10.1)
|
|
hirsute |
Released
(2.3.0-4)
|
|
impish |
Released
(2.3.0-4)
|
|
jammy |
Released
(2.3.0-4)
|
|
kinetic |
Released
(2.3.0-4)
|
|
lunar |
Released
(2.3.0-4)
|
|
mantic |
Released
(2.3.0-4)
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Needed
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
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
- 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://ubuntu.com/security/notices/USN-4562-1
- https://ubuntu.com/security/notices/USN-4562-2
- https://www.cve.org/CVERecord?id=CVE-2020-14001
- NVD
- Launchpad
- Debian