Debian DLA-2316-1 : ruby-kramdown security update

critical Nessus Plugin ID 139427

Synopsis

The remote Debian host is missing a security update.

Description

ruby-kramdown 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.

For Debian 9 stretch, this problem has been fixed in version 1.12.0-1+deb9u1.

We recommend that you upgrade your ruby-kramdown packages.

For the detailed security status of ruby-kramdown please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/ruby-kramdown

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected ruby-kramdown package.

See Also

https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html

https://packages.debian.org/source/stretch/ruby-kramdown

http://www.nessus.org/u?e23501f8

Plugin Details

Severity: Critical

ID: 139427

File Name: debian_DLA-2316.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/10/2020

Updated: 2/26/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2020-14001

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:ruby-kramdown

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 8/8/2020

Vulnerability Publication Date: 7/17/2020

Reference Information

CVE: CVE-2020-14001