RHEL 7 : rh-ruby25-ruby (RHSA-2021:2104)

high Nessus Plugin ID 165116

Synopsis

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

Description

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

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

The following packages have been upgraded to a later upstream version: rh-ruby25-ruby (2.5.9).
(BZ#1952998)

Security Fix(es):

* ruby: NUL injection vulnerability of File.fnmatch and File.fnmatch? (CVE-2019-15845)

* ruby: Regular expression denial of service vulnerability of WEBrick's Digest authentication (CVE-2019-16201)

* ruby: Code injection via command argument of Shell#test / Shell#[] (CVE-2019-16255)

* rubygem-json: Unsafe object creation vulnerability in JSON (CVE-2020-10663)

* ruby: BasicSocket#read_nonblock method leads to information disclosure (CVE-2020-10933)

* ruby: Potential HTTP request smuggling in WEBrick (CVE-2020-25613)

* ruby: XML round-trip vulnerability in REXML (CVE-2021-28965)

* ruby: HTTP response splitting in WEBrick (CVE-2019-16254)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

* rh-ruby25-ruby: Resolv::DNS: timeouts if multiple IPv6 name servers are given and address contains leading zero [rhscl-3] (BZ#1953001)

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

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

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

https://access.redhat.com/errata/RHSA-2021:2104

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 165116

File Name: redhat-RHSA-2021-2104.nasl

Version: 1.9

Type: local

Agent: unix

Published: 9/15/2022

Updated: 11/7/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: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2019-16255

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:H/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: p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-did_you_mean, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-openssl, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-doc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygems, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-devel, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-json, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-net-telnet, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygems-devel, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-power_assert, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-test-unit, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-xmlrpc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-irb, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-libs, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-psych

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: 5/26/2021

Vulnerability Publication Date: 11/26/2019

Reference Information

CVE: CVE-2019-15845, CVE-2019-16201, CVE-2019-16254, CVE-2019-16255, CVE-2020-10663, CVE-2020-10933, CVE-2020-25613, CVE-2021-28965

CWE: 113, 200, 400, 41, 444, 611, 94

RHSA: 2021:2104