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

critical Nessus Plugin ID 104503

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-2017-0898 aerodudrizzt reported a buffer underrun vulnerability in the sprintf method of the Kernel module resulting in heap memory corruption or information disclosure from the heap.

- CVE-2017-0903 Max Justicz reported that RubyGems is prone to an unsafe object deserialization vulnerability. When parsed by an application which processes gems, a specially crafted YAML formatted gem specification can lead to remote code execution.

- CVE-2017-10784 Yusuke Endoh discovered an escape sequence injection vulnerability in the Basic authentication of WEBrick. An attacker can take advantage of this flaw to inject malicious escape sequences to the WEBrick log and potentially execute control characters on the victim's terminal emulator when reading logs.

- CVE-2017-14033 asac reported a buffer underrun vulnerability in the OpenSSL extension. A remote attacker can take advantage of this flaw to cause the Ruby interpreter to crash leading to a denial of service.

Solution

Upgrade the ruby2.3 packages.

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

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875928

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875931

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875936

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879231

https://security-tracker.debian.org/tracker/CVE-2017-0898

https://security-tracker.debian.org/tracker/CVE-2017-0903

https://security-tracker.debian.org/tracker/CVE-2017-10784

https://security-tracker.debian.org/tracker/CVE-2017-14033

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

https://www.debian.org/security/2017/dsa-4031

Plugin Details

Severity: Critical

ID: 104503

File Name: debian_DSA-4031.nasl

Version: 3.4

Type: local

Agent: unix

Published: 11/13/2017

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 9.3

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:ruby2.3

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

Patch Publication Date: 11/11/2017

Reference Information

CVE: CVE-2017-0898, CVE-2017-0903, CVE-2017-10784, CVE-2017-14033

DSA: 4031