#VU31897 Improper Neutralization of Special Elements in Output Used by a Downstream Component in kramdown


Published: 2020-07-27

Vulnerability identifier: #VU31897

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2020-14001

CWE-ID:

Exploitation vector: Network

Exploit availability:

Vulnerable software:
kramdown
Web applications / Modules and components for CMS

Vendor: Thomas Leitner

Description

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to improper validation of input. A remote attacker can gain read access (such as template="/etc/passwd") or embedded Ruby code execution (such as a string that begins with template="string://<%= `).

Mitigation
Install update from vendor's website.

Vulnerable software versions

kramdown: 0.1.0 - 2.2.1


Fixed software versions

CPE

External links
http://github.com/gettalong/kramdown
http://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde
http://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0
http://kramdown.gettalong.org
http://kramdown.gettalong.org/news.html
http://rubygems.org/gems/kramdown


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability