Debian DLA-2007-1 : ruby2.1 security update

high Nessus Plugin ID 131292

Synopsis

The remote Debian host is missing a security update.

Description

Several flaws have been found in ruby2.1, an interpreter of an object-oriented scripting language.

CVE-2019-15845 Path matching might pass in File.fnmatch and File.fnmatch? due to a NUL character injection.

CVE-2019-16201 A loop caused by a wrong regular expression could lead to a denial of service of a WEBrick service.

CVE-2019-16254 This is the same issue as CVE-2017-17742, whose fix was not complete.

CVE-2019-16255 Giving untrusted data to the first argument of Shell#[] and Shell#test might lead to a code injection vulnerability.

For Debian 8 'Jessie', these problems have been fixed in version 2.1.5-2+deb8u8.

We recommend that you upgrade your ruby2.1 packages.

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 packages.

See Also

https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html

https://packages.debian.org/source/jessie/ruby2.1

Plugin Details

Severity: High

ID: 131292

File Name: debian_DLA-2007.nasl

Version: 1.8

Type: local

Agent: unix

Published: 11/26/2019

Updated: 4/9/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-16255

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libruby2.1, p-cpe:/a:debian:debian_linux:ruby2.1, p-cpe:/a:debian:debian_linux:ruby2.1-dev, p-cpe:/a:debian:debian_linux:ruby2.1-doc, p-cpe:/a:debian:debian_linux:ruby2.1-tcltk, cpe:/o:debian:debian_linux:8.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/25/2019

Vulnerability Publication Date: 11/26/2019

Reference Information

CVE: CVE-2019-15845, CVE-2019-16201, CVE-2019-16254, CVE-2019-16255