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

high Nessus Plugin ID 131292


The remote Debian host is missing a security update.


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.


Upgrade the affected packages.

See Also

Plugin Details

Severity: High

ID: 131292

File Name: debian_DLA-2007.nasl

Version: 1.7

Type: local

Agent: unix

Published: 11/26/2019

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

CVSS Score Source: CVE-2019-16255


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Temporal Vector: E:U/RL:OF/RC:C


Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

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

Temporal Vector: E:U/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 Ease: No known 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