RHEL 7:ruby (RHSA-2020: 0591)

critical Nessus 插件 ID 134063

简介

远程 Red Hat 主机缺少一个或多个安全更新。

描述

远程 Redhat Enterprise Linux 7 主机上安装的程序包受到 RHSA-2020: 0591 公告中提及的多个漏洞的影响。

- rubygems:写入 root 外部符号链接的 basedir 时,发现路径遍历 (CVE-2018-1000073)

- rubygems:gem 所有者中存在不安全的对象反序列化漏洞,进而允许在特别构建的 YAML 上执行任意代码 (CVE-2018-1000074)

- rubygems:因为 tar 标头中的负大小而导致的无限循环漏洞可造成拒绝服务 (CVE-2018-1000075)

- rubygems:tarball 中的不当签名验证允许安装签名错误的 gem (CVE-2018-1000076)

- rubygems:规格首页属性缺少 URL 验证可让恶意 gem 设置无效的首页 URL (CVE-2018-1000077)

- rubygems:通过 gem 服务器显示时,主页属性中存在 XSS 漏洞 (CVE-2018-1000078)

- rubygems:gem 安装期间发生的路径遍历问题允许写入任意文件系统位置 (CVE-2018-1000079)

- ruby:WEBrick 中的大型请求导致 DoS (CVE-2018-8777)

- ruby:在 Dir 中,中毒的空字节造成非预定的目录遍历 (CVE-2018-8780)

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

更新受影响的程序包。

另见

http://www.nessus.org/u?7582fd5c

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

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

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

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

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

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

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

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

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

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

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

插件详情

严重性: Critical

ID: 134063

文件名: redhat-RHSA-2020-0591.nasl

版本: 1.10

类型: local

代理: unix

发布时间: 2020/2/26

最近更新时间: 2024/4/28

支持的传感器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 5.5

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

CVSS 分数来源: CVE-2018-8780

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.5

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

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

CVSS 分数来源: CVE-2018-1000076

漏洞信息

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

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

易利用性: No known exploits are available

补丁发布日期: 2020/2/25

漏洞发布日期: 2018/2/26

参考资料信息

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

BID: 103683, 103739

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

RHSA: 2020:0591