RHEL 7 : ruby (RHSA-2020:0591)

High Nessus Plugin ID 134063

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9

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:0591 advisory.

- rubygems: Path traversal when writing to a symlinked basedir outside of the root (CVE-2018-1000073)

- rubygems: Unsafe Object Deserialization Vulnerability in gem owner allowing arbitrary code execution on specially crafted YAML (CVE-2018-1000074)

- rubygems: Infinite loop vulnerability due to negative size in tar header causes Denial of Service (CVE-2018-1000075)

- rubygems: Improper verification of signatures in tarball allows to install mis-signed gem (CVE-2018-1000076)

- rubygems: Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL (CVE-2018-1000077)

- rubygems: XSS vulnerability in homepage attribute when displayed via gem server (CVE-2018-1000078)

- rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations (CVE-2018-1000079)

- ruby: DoS by large request in WEBrick (CVE-2018-8777)

- ruby: Unintentional directory traversal by poisoned NULL byte in Dir (CVE-2018-8780)

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/22.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://bugzilla.redhat.com/1547418

https://bugzilla.redhat.com/1547419

https://bugzilla.redhat.com/1547420

https://bugzilla.redhat.com/1547421

https://bugzilla.redhat.com/1547422

https://bugzilla.redhat.com/1547425

https://bugzilla.redhat.com/1547426

https://bugzilla.redhat.com/1561949

https://bugzilla.redhat.com/1561950

Plugin Details

Severity: High

ID: 134063

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

Version: 1.4

Type: local

Agent: unix

Published: 2020/02/26

Updated: 2020/11/18

Dependencies: 12634

Risk Information

Risk Factor: High

VPR Score: 5.9

CVSS Score Source: CVE-2018-8780

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3.0

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: cpe:/o:redhat:rhel_aus:7.4, cpe:/o:redhat:rhel_aus:7.4::server, cpe:/o:redhat:rhel_e4s:7.4, cpe:/o:redhat:rhel_e4s:7.4::server, cpe:/o:redhat:rhel_tus:7.4, cpe:/o:redhat:rhel_tus:7.4::server, 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: 2020/02/25

Vulnerability Publication Date: 2018/03/13

Reference Information

CVE: CVE-2018-8777, CVE-2018-8780, CVE-2018-1000073, CVE-2018-1000074, CVE-2018-1000075, CVE-2018-1000076, CVE-2018-1000077, CVE-2018-1000078, CVE-2018-1000079

BID: 103683, 103739

RHSA: 2020:0591

CWE: 20, 22, 79, 347, 400, 502, 626, 835