Debian DLA-1359-1:ruby1.8 安全更新

critical Nessus 插件 ID 109284

简介

远程 Debian 主机缺少安全更新。

描述

在 Ruby 语言的解释器中发现多个漏洞。Common Vulnerabilities and Exposures 计划发现以下问题:CVE-2017-17742 Aaron Patterson 报告 Ruby 捆绑的 WEBrick 容易受到 HTTP 响应拆分漏洞的影响。如果脚本接受外部输入并未经修改就将其输出,则攻击者可注入伪造的 HTTP 响应。CVE-2018-6914 ooooooo_q 在 tmpdir 库的 Dir.mktmpdir 方法中发现一个目录遍历漏洞。攻击者可通过 prefix 参数中的 ..(点点)创建任意目录或文件。CVE-2018-8777 Eric Wong 报告 Ruby 捆绑的 WEBrick 中存在一个与大型请求有关的内存不足拒绝服务漏洞。CVE-2018-8778 aerodudrizzt 在 Ruby String#unpack 方法中发现一个缓冲区读取不足漏洞。如果使用指定符 @ 传递大数字,该数字会被视为负值,并且发生缓冲区外读取。如果脚本接受外部输入作为 String#unpack 的参数,则攻击者可读取堆上的数据。CVE-2018-8779 ooooooo_q 报告说 Ruby 捆绑的套接字库的 UNIXServer.open 和 UNIXSocket.open 方法未检查 path 参数中的 NUL 字节。缺少检查使这些方法容易受到意外套接字创建和意外套接字访问的影响。CVE-2018-8780 ooooooo_q 在 Dir 的某些方法中发现由于未缺少检查其参数中的 NUL 字节而导致的意外目录遍历。对于 Debian 7“Wheezy”,这些问题已在 1.8.7.358-7.1+deb7u6 版本中修复。我们建议您升级 ruby1.8 程序包。注意:Tenable Network Security 已直接从 DLA 安全公告中提取上述描述块。Tenable 已尝试在不引入其他问题的情况下,尽可能进行自动整理和排版。

解决方案

升级受影响的程序包。

另见

https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html

https://packages.debian.org/source/wheezy/ruby1.8

插件详情

严重性: Critical

ID: 109284

文件名: debian_DLA-1359.nasl

版本: 1.6

类型: local

代理: unix

发布时间: 2018/4/24

最近更新时间: 2021/1/11

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

风险信息

VPR

风险因素: Medium

分数: 5.2

CVSS v2

风险因素: High

基本分数: 7.5

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

CVSS v3

风险因素: Critical

基本分数: 9.1

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

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:libruby1.8, p-cpe:/a:debian:debian_linux:libruby1.8-dbg, p-cpe:/a:debian:debian_linux:libtcltk-ruby1.8, p-cpe:/a:debian:debian_linux:ri1.8, p-cpe:/a:debian:debian_linux:ruby1.8, p-cpe:/a:debian:debian_linux:ruby1.8-dev, p-cpe:/a:debian:debian_linux:ruby1.8-examples, p-cpe:/a:debian:debian_linux:ruby1.8-full, cpe:/o:debian:debian_linux:7.0

必需的 KB 项: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

补丁发布日期: 2018/4/23

参考资料信息

CVE: CVE-2017-17742, CVE-2018-6914, CVE-2018-8777, CVE-2018-8778, CVE-2018-8779, CVE-2018-8780