RHEL 7 : ruby (RHSA-2020:2769)

high Nessus Plugin ID 137897

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-2020:2769 advisory.

- ruby: Tainted flags are not propagated in Array#pack and String#unpack with some directives (CVE-2018-16396)

- rubygems: Escape sequence injection vulnerability in verbose (CVE-2019-8321)

- rubygems: Escape sequence injection vulnerability in gem owner (CVE-2019-8322)

- rubygems: Escape sequence injection vulnerability in API response handling (CVE-2019-8323)

- rubygems: Installing a malicious gem may lead to arbitrary code execution (CVE-2019-8324)

- rubygems: Escape sequence injection vulnerability in errors (CVE-2019-8325)

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

Solution

Update the affected packages.

See Also

https://cwe.mitre.org/data/definitions/20.html

https://cwe.mitre.org/data/definitions/88.html

https://access.redhat.com/security/cve/CVE-2018-16396

https://access.redhat.com/security/cve/CVE-2019-8321

https://access.redhat.com/security/cve/CVE-2019-8322

https://access.redhat.com/security/cve/CVE-2019-8323

https://access.redhat.com/security/cve/CVE-2019-8324

https://access.redhat.com/security/cve/CVE-2019-8325

https://access.redhat.com/errata/RHSA-2020:2769

https://bugzilla.redhat.com/1643089

https://bugzilla.redhat.com/1692514

https://bugzilla.redhat.com/1692516

https://bugzilla.redhat.com/1692519

https://bugzilla.redhat.com/1692520

https://bugzilla.redhat.com/1692522

Plugin Details

Severity: High

ID: 137897

File Name: redhat-RHSA-2020-2769.nasl

Version: 1.6

Type: local

Agent: unix

Published: 6/30/2020

Updated: 10/12/2021

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

Risk Information

CVSS Score Source: CVE-2019-8324

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 6/30/2020

Vulnerability Publication Date: 10/25/2018

Reference Information

CVE: CVE-2018-16396, CVE-2019-8321, CVE-2019-8322, CVE-2019-8323, CVE-2019-8324, CVE-2019-8325

BID: 105955

RHSA: 2020:2769

CWE: 20, 88