RHEL 7 : rh-ruby25-ruby (RHSA-2018:3731)

critical Nessus 插件 ID 194050

简介

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

描述

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

- ruby:WEBrick 中的 HTTP 响应拆分 (CVE-2017-17742)

- ruby:在 tempfile 和 tmpdir 中,使用目录遍历建立了非预定的文件和目录 (CVE-2018-6914)

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

- ruby:String#unpack 中的缓冲区读取不足 (CVE-2018-8778)

- ruby:在 UNIXServer 和 UNIXSocket 中,中毒的空字节建立了非预定的套接字 (CVE-2018-8779)

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

- ruby:OpenSSL::X509::Name 相等性检查无法正确运行 (CVE-2018-16395)

- ruby:受污染的标志无法以某些指令在 Array#pack 和 String#unpack 中传播 (CVE-2018-16396)

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

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

解决方案

更新受影响的程序包。

另见

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=1561947

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

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

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

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

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

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

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

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

http://www.nessus.org/u?15e45ebb

https://access.redhat.com/errata/RHSA-2018:3731

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

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

插件详情

严重性: Critical

ID: 194050

文件名: redhat-RHSA-2018-3731.nasl

版本: 1.0

类型: local

代理: unix

发布时间: 2024/4/27

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

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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-16395

漏洞信息

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-devel, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-doc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-irb, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-ruby-libs, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-bigdecimal, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-did_you_mean, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-io-console, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-json, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-minitest, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-net-telnet, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-openssl, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-power_assert, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-psych, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-rake, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-rdoc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-test-unit, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygem-xmlrpc, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygems, p-cpe:/a:redhat:enterprise_linux:rh-ruby25-rubygems-devel

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

易利用性: No known exploits are available

补丁发布日期: 2018/11/29

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

参考资料信息

CVE: CVE-2017-17742, CVE-2018-1000073, CVE-2018-1000074, CVE-2018-1000075, CVE-2018-1000076, CVE-2018-1000077, CVE-2018-1000078, CVE-2018-1000079, CVE-2018-16395, CVE-2018-16396, CVE-2018-6914, CVE-2018-8777, CVE-2018-8778, CVE-2018-8779, CVE-2018-8780

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

RHSA: 2018:3731