Vulnerability Name:

CVE-2020-14001 (CCN-185695)

Assigned:2020-06-27
Published:2020-06-27
Updated:2022-04-28
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-862
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-14001

Source: XF
Type: UNKNOWN
kramdown-cve202014001-code-exec(185695)

Source: MISC
Type: Third Party Advisory
https://github.com/gettalong/kramdown

Source: CCN
Type: kramdown GIT Repository
Add option forbidden_inline_options

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0

Source: MISC
Type: Vendor Advisory
https://kramdown.gettalong.org

Source: CONFIRM
Type: Release Notes, Vendor Advisory
https://kramdown.gettalong.org/news.html

Source: MLIST
Type: Mailing List, Third Party Advisory
[fluo-notifications] 20200808 [GitHub] [fluo-website] ctubbsii opened a new pull request #194: Update gems

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20200809 [SECURITY] [DLA 2316-1] ruby-kramdown security update

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2020-5c70d97eca

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2020-f6eee9a2d3

Source: MISC
Type: Third Party Advisory
https://rubygems.org/gems/kramdown

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20200731-0004/

Source: UBUNTU
Type: Third Party Advisory
USN-4562-1

Source: DEBIAN
Type: Third Party Advisory
DSA-4743

Vulnerable Configuration:Configuration 1:
  • cpe:/a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:* (Version < 2.3.0)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:31:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:32:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:756
    P
    Security update for rubygem-kramdown (Important)
    2022-09-12
    oval:org.opensuse.security:def:113390
    P
    ruby2.7-rubygem-kramdown-2.3.1-1.3 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106796
    P
    ruby2.7-rubygem-kramdown-2.3.1-1.3 on GA media (Moderate)
    2021-10-01
    BACK
    kramdown_project kramdown *
    debian debian linux 9.0
    debian debian linux 10.0
    fedoraproject fedora 31
    fedoraproject fedora 32
    canonical ubuntu linux 20.04