Debian DSA-4332-1 : ruby2.3 - security update

critical Nessus Plugin ID 118721
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Debian host is missing a security-related update.

Description

Several vulnerabilities have been discovered in the interpreter for the Ruby language. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2018-16395 Tyler Eckstein reported that the equality check of OpenSSL::X509::Name could return true for non-equal objects. If a malicious X.509 certificate is passed to compare with an existing certificate, there is a possibility to be judged incorrectly that they are equal.

- CVE-2018-16396 Chris Seaton discovered that tainted flags are not propagated in Array#pack and String#unpack with some directives.

Solution

Upgrade the ruby2.3 packages.

For the stable distribution (stretch), these problems have been fixed in version 2.3.3-1+deb9u4.

See Also

https://security-tracker.debian.org/tracker/CVE-2018-16395

https://security-tracker.debian.org/tracker/CVE-2018-16396

https://security-tracker.debian.org/tracker/source-package/ruby2.3

https://packages.debian.org/source/stretch/ruby2.3

https://www.debian.org/security/2018/dsa-4332

Plugin Details

Severity: Critical

ID: 118721

File Name: debian_DSA-4332.nasl

Version: 1.5

Type: local

Agent: unix

Published: 11/5/2018

Updated: 4/29/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

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: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ruby2.3, cpe:/o:debian:debian_linux:9.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/3/2018

Vulnerability Publication Date: 11/16/2018

Reference Information

CVE: CVE-2018-16395, CVE-2018-16396

DSA: 4332