CentOS 8 : ruby:3.0 (CESA-2022:6450)

critical Nessus Plugin ID 164956

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2022:6450 advisory.

- 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: Double free in Regexp compilation (CVE-2022-28738)

- 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

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

Plugin Details

Severity: Critical

ID: 164956

File Name: centos8_RHSA-2022-6450.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/13/2022

Updated: 10/12/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

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-2022-28738

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: p-cpe:/a:centos:centos:ruby-devel, p-cpe:/a:centos:centos:ruby-libs, p-cpe:/a:centos:centos:rubygems, p-cpe:/a:centos:centos:rubygem-abrt, p-cpe:/a:centos:centos:rubygem-bigdecimal, p-cpe:/a:centos:centos:rubygem-abrt-doc, cpe:/o:centos:centos:8-stream, p-cpe:/a:centos:centos:rubygem-power_assert, p-cpe:/a:centos:centos:rubygem-test-unit, p-cpe:/a:centos:centos:rubygem-rbs, p-cpe:/a:centos:centos:rubygem-rake, p-cpe:/a:centos:centos:rubygem-psych, p-cpe:/a:centos:centos:rubygem-mysql2-doc, p-cpe:/a:centos:centos:rubygem-pg, p-cpe:/a:centos:centos:rubygem-pg-doc, p-cpe:/a:centos:centos:rubygem-rdoc, p-cpe:/a:centos:centos:rubygem-typeprof, p-cpe:/a:centos:centos:rubygem-rss, p-cpe:/a:centos:centos:rubygem-json, p-cpe:/a:centos:centos:rubygem-rexml, p-cpe:/a:centos:centos:ruby-default-gems, p-cpe:/a:centos:centos:rubygem-minitest, p-cpe:/a:centos:centos:rubygem-mysql2, p-cpe:/a:centos:centos:rubygems-devel, p-cpe:/a:centos:centos:rubygem-irb, p-cpe:/a:centos:centos:ruby-doc, p-cpe:/a:centos:centos:rubygem-bundler, p-cpe:/a:centos:centos:rubygem-io-console, p-cpe:/a:centos:centos:ruby

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/13/2022

Vulnerability Publication Date: 1/1/2022

Reference Information

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

RHSA: 2022:6450