RHEL 7 : rh-ruby27-ruby (RHSA-2022:6856)

critical Nessus Plugin ID 166011

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-2022:6856 advisory.

- ruby: buffer overflow in CGI.escape_html (CVE-2021-41816)

- ruby: Regular expression denial of service vulnerability of Date parsing methods (CVE-2021-41817)

- ruby: Cookie prefix spoofing in CGI::Cookie.parse (CVE-2021-41819)

- ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)

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?7bd63b54

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

https://access.redhat.com/errata/RHSA-2022:6856

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 166011

File Name: redhat-RHSA-2022-6856.nasl

Version: 1.6

Type: local

Agent: unix

Published: 10/11/2022

Updated: 4/28/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: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-41816

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

Vulnerability Information

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-ruby, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-ruby-devel, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-ruby-doc, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-ruby-libs, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-bundler, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-did_you_mean, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-irb, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-json, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-net-telnet, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-openssl, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-power_assert, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-psych, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-racc, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-test-unit, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygem-xmlrpc, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-rubygems, p-cpe:/a:redhat:enterprise_linux:rh-ruby27-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: 10/11/2022

Vulnerability Publication Date: 1/1/2022

Reference Information

CVE: CVE-2021-41816, CVE-2021-41817, CVE-2021-41819, CVE-2022-28739

CWE: 119, 125, 400

RHSA: 2022:6856