EulerOS 2.0 SP2 : ruby (EulerOS-SA-2017-1051)

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote EulerOS host is missing multiple security updates.

Description :

According to the versions of the ruby packages installed, the EulerOS
installation on the remote host is affected by the following
vulnerabilities :

- An exploitable heap overflow vulnerability exists in
the Fiddle::Function.new 'initialize' function
functionality of Ruby. In Fiddle::Function.new
'initialize' heap buffer 'arg_types' allocation is made
based on args array length. Specially constructed
object passed as element of args array can increase
this array size after mentioned allocation and cause
heap overflow.(CVE-2016-2339)

- Type confusion exists in _cancel_eval Ruby's TclTkIp
class method. Attacker passing different type of object
than String as 'retval' argument can cause arbitrary
code execution.(CVE-2016-2337)

- RubyGems 2.0.x before 2.0.16, 2.2.x before 2.2.4, and
2.4.x before 2.4.7 does not validate the hostname when
fetching gems or making API requests, which allows
remote attackers to redirect requests to arbitrary
domains via a crafted DNS SRV record, aka a 'DNS hijack
attack.'(CVE-2015-3900)

Note that Tenable Network Security has extracted the preceding
description block directly from the EulerOS security advisory. Tenable
has attempted to automatically clean and format it as much as possible
without introducing additional issues.

See also :

http://www.nessus.org/u?20b41897

Solution :

Update the affected ruby packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.8
(CVSS2#E:POC/RL:U/RC:ND)
Public Exploit Available : true

Family: Huawei Local Security Checks

Nessus Plugin ID: 99896 ()

Bugtraq ID: 75482

CVE ID: CVE-2015-3900
CVE-2016-2337
CVE-2016-2339

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now