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

critical Nessus Plugin ID 102964

Synopsis

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

Description

Multiple vulnerabilities were discovered in the interpreter for the Ruby language :

- CVE-2015-9096 SMTP command injection in Net::SMTP.

- CVE-2016-7798 Incorrect handling of initialization vector in the GCM mode in the OpenSSL extension.

- CVE-2017-0900 Denial of service in the RubyGems client.

- CVE-2017-0901 Potential file overwrite in the RubyGems client.

- CVE-2017-0902 DNS hijacking in the RubyGems client.

- CVE-2017-14064 Heap memory disclosure in the JSON library.

Solution

Upgrade the ruby2.3 packages.

For the stable distribution (stretch), these problems have been fixed in version 2.3.3-1+deb9u1. This update also hardens RubyGems against malicious terminal escape sequences (CVE-2017-0899 ).

See Also

https://security-tracker.debian.org/tracker/CVE-2015-9096

https://security-tracker.debian.org/tracker/CVE-2016-7798

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 102964

File Name: debian_DSA-3966.nasl

Version: 3.5

Type: local

Agent: unix

Published: 9/6/2017

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/5/2017

Reference Information

CVE: CVE-2015-9096, CVE-2016-7798, CVE-2017-0899, CVE-2017-0900, CVE-2017-0901, CVE-2017-0902, CVE-2017-14064

DSA: 3966