CentOS 8 : ruby:2.6 (CESA-2021:2588)

high Nessus Plugin ID 151146

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-2021:2588 advisory.

- 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: HTTP response splitting in WEBrick (CVE-2019-16254)

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

- rubygem-bundler: Insecure permissions on directory in /tmp/ allows for execution of malicious code (CVE-2019-3881)

- 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)

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://access.redhat.com/errata/RHSA-2021:2588

Plugin Details

Severity: High

ID: 151146

File Name: centos8_RHSA-2021-2588.nasl

Version: 1.3

Type: local

Agent: unix

Published: 6/29/2021

Updated: 12/12/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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:centos:centos:rubygem-bson-doc, p-cpe:/a:centos:centos:rubygem-mongo-doc, p-cpe:/a:centos:centos:rubygem-bson, p-cpe:/a:centos:centos:rubygem-abrt, p-cpe:/a:centos:centos:rubygem-mysql2, cpe:/o:centos:centos:8, p-cpe:/a:centos:centos:rubygem-mysql2-doc, p-cpe:/a:centos:centos:rubygem-mongo, p-cpe:/a:centos:centos:rubygem-abrt-doc, p-cpe:/a:centos:centos:rubygem-pg, p-cpe:/a:centos:centos:rubygem-pg-doc

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/29/2021

Vulnerability Publication Date: 11/26/2019

Reference Information

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

RHSA: 2021:2588