RHEL 6 / 7 : rh-ruby23-ruby (RHSA-2018:0585)

critical Nessus Plugin ID 194120

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2018:0585 advisory.

- ruby: Buffer underrun vulnerability in Kernel.sprintf (CVE-2017-0898)

- rubygems: Escape sequence in the summary field of gemspec (CVE-2017-0899)

- rubygems: No size limit in summary length of gem spec (CVE-2017-0900)

- rubygems: Arbitrary file overwrite due to incorrect validation of specification name (CVE-2017-0901)

- rubygems: DNS hijacking vulnerability (CVE-2017-0902)

- rubygems: Unsafe object deserialization through YAML formatted gem specifications (CVE-2017-0903)

- ruby: Escape sequence injection vulnerability in the Basic authentication of WEBrick (CVE-2017-10784)

- ruby: Buffer underrun in OpenSSL ASN1 decode (CVE-2017-14033)

- ruby: Arbitrary heap exposure during a JSON.generate call (CVE-2017-14064)

- ruby: Command injection vulnerability in Net::FTP (CVE-2017-17405)

- ruby: Command injection in lib/resolv.rb:lazy_initialize() allows arbitrary code execution (CVE-2017-17790)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=1487552

https://bugzilla.redhat.com/show_bug.cgi?id=1487587

https://bugzilla.redhat.com/show_bug.cgi?id=1487588

https://bugzilla.redhat.com/show_bug.cgi?id=1487589

https://bugzilla.redhat.com/show_bug.cgi?id=1487590

https://bugzilla.redhat.com/show_bug.cgi?id=1491866

https://bugzilla.redhat.com/show_bug.cgi?id=1492012

https://bugzilla.redhat.com/show_bug.cgi?id=1492015

https://bugzilla.redhat.com/show_bug.cgi?id=1500488

https://bugzilla.redhat.com/show_bug.cgi?id=1526189

https://bugzilla.redhat.com/show_bug.cgi?id=1528218

https://bugzilla.redhat.com/show_bug.cgi?id=1549649

http://www.nessus.org/u?31965d4e

https://access.redhat.com/errata/RHSA-2018:0585

Plugin Details

Severity: Critical

ID: 194120

File Name: redhat-RHSA-2018-0585.nasl

Version: 1.0

Type: local

Agent: unix

Published: 4/27/2024

Updated: 4/27/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

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

CVSS Score Source: CVE-2017-17405

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

CVSS Score Source: CVE-2017-17790

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby-devel, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby-doc, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby-irb, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby-libs, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-ruby-tcltk, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-did_you_mean, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-json, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-net-telnet, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-power_assert, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-psych, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygem-test-unit, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygems, p-cpe:/a:redhat:enterprise_linux:rh-ruby23-rubygems-devel

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/26/2018

Vulnerability Publication Date: 8/31/2017

Reference Information

CVE: CVE-2017-0898, CVE-2017-0899, CVE-2017-0900, CVE-2017-0901, CVE-2017-0902, CVE-2017-0903, CVE-2017-10784, CVE-2017-14033, CVE-2017-14064, CVE-2017-17405, CVE-2017-17790

CWE: 117, 119, 122, 138, 20, 200, 77

RHSA: 2018:0585