RHEL 7 : ruby (RHSA-2018:0378)

critical Nessus Plugin ID 107082

Synopsis

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

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2018:0378 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 RHEL ruby package based on the guidance in RHSA-2018:0378.

See Also

http://www.nessus.org/u?c33ad6b9

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

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

Plugin Details

Severity: Critical

ID: 107082

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

Version: 3.12

Type: local

Agent: unix

Published: 3/1/2018

Updated: 4/27/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Important

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: p-cpe:/a:redhat:enterprise_linux:rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:ruby-irb, p-cpe:/a:redhat:enterprise_linux:ruby-libs, p-cpe:/a:redhat:enterprise_linux:rubygem-psych, p-cpe:/a:redhat:enterprise_linux:ruby-tcltk, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rubygems-devel, p-cpe:/a:redhat:enterprise_linux:rubygem-json, p-cpe:/a:redhat:enterprise_linux:rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:ruby, p-cpe:/a:redhat:enterprise_linux:ruby-devel, p-cpe:/a:redhat:enterprise_linux:ruby-doc, p-cpe:/a:redhat:enterprise_linux:rubygems

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

Patch Publication Date: 2/28/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:0378