Ubuntu 16.04 ESM:ncurses 漏洞 (USN-5448-1)

critical Nessus 插件 ID 161634

简介

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

描述

远程 Ubuntu 16.04 ESM 主机上安装的多个程序包受到 USN-5448-1 公告中提及的多个漏洞影响。

- 在 ncurses 6.0 中,fmt_entry 函数中存在基于堆栈的缓冲区溢出漏洞。使用构建的输入将导致远程任意代码执行攻击。(CVE-2017-10684)

- 在 ncurses 6.0 中,fmt_entry 函数中存在格式字符串漏洞。使用构建的输入将导致远程任意代码执行攻击。(CVE-2017-10685)

- 在 ncurses 6.0 中,tinfo/parse_entry.c 的 append_acs 函数中存在 0xffffffffffffffff 访问尝试漏洞。如果使用 terminfo 库代码处理不受信任的 terminfo 数据,将会导致远程拒绝服务攻击。(CVE-2017-11112)

- 在 ncurses 6.0 中,tinfo/parse_entry.c 的 _nc_parse_entry 函数中存在空指针取消引用漏洞。如果使用 terminfo 库代码处理不受信任的 terminfo 数据,将会导致远程拒绝服务攻击。(CVE-2017-11113)

- 在 ncurses 6.0 中,comp_scan.c 的 next_char 函数中存在与 libtic 有关的无限循环漏洞。使用构建的输入将会导致远程拒绝服务攻击。(CVE-2017-13728)

- 在 ncurses 6.0 中,alloc_entry.c 的 _nc_save_str 函数中存在非法地址访问漏洞。这可能导致远程拒绝服务攻击。(CVE-2017-13729)

- 在 ncurses 6.0 中,progs/tic.c 的 _nc_read_entry_source() 函数中存在非法地址访问漏洞,并有可能导致远程拒绝服务攻击。(CVE-2017-13730)

- 在 ncurses 6.0 中,parse_entry.c 的 postprocess_termcap() 函数中存在非法地址访问漏洞,并将导致远程拒绝服务攻击。(CVE-2017-13731)

- 在 ncurses 6.0 中,progs/dump_entry.c 的 dump_uses() 函数中存在非法地址访问漏洞,并有可能导致远程拒绝服务攻击。(CVE-2017-13732)

- 在 ncurses 6.0 中,progs/dump_entry.c 的 fmt_entry 函数中存在非法地址访问漏洞,并有可能导致远程拒绝服务攻击。(CVE-2017-13733)

- 在 ncurses 6.0 中,strings.c 的 _nc_safe_strcat 函数中存在非法地址访问漏洞,并将导致远程拒绝服务攻击。(CVE-2017-13734)

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

解决方案

更新受影响的程序包。

另见

https://ubuntu.com/security/notices/USN-5448-1

插件详情

严重性: Critical

ID: 161634

文件名: ubuntu_USN-5448-1.nasl

版本: 1.4

类型: local

代理: unix

发布时间: 2022/5/27

最近更新时间: 2023/7/10

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

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 5.9

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

CVSS 分数来源: CVE-2017-10685

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.8

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

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

漏洞信息

CPE: p-cpe:/a:canonical:ubuntu_linux:libx32ncursesw5-dev, p-cpe:/a:canonical:ubuntu_linux:lib32ncursesw5-dev, p-cpe:/a:canonical:ubuntu_linux:ncurses-base, p-cpe:/a:canonical:ubuntu_linux:libx32ncursesw5, p-cpe:/a:canonical:ubuntu_linux:libx32tinfo5, p-cpe:/a:canonical:ubuntu_linux:lib32ncurses5-dev, p-cpe:/a:canonical:ubuntu_linux:lib32ncursesw5, p-cpe:/a:canonical:ubuntu_linux:libncursesw5, p-cpe:/a:canonical:ubuntu_linux:libncurses5-dev, p-cpe:/a:canonical:ubuntu_linux:libncursesw5-dev, p-cpe:/a:canonical:ubuntu_linux:libx32ncurses5, cpe:/o:canonical:ubuntu_linux:16.04:-:esm, p-cpe:/a:canonical:ubuntu_linux:libtinfo-dev, p-cpe:/a:canonical:ubuntu_linux:libx32ncurses5-dev, p-cpe:/a:canonical:ubuntu_linux:ncurses-bin, p-cpe:/a:canonical:ubuntu_linux:lib32tinfo-dev, p-cpe:/a:canonical:ubuntu_linux:lib32tinfo5, p-cpe:/a:canonical:ubuntu_linux:lib64tinfo5, p-cpe:/a:canonical:ubuntu_linux:ncurses-examples, p-cpe:/a:canonical:ubuntu_linux:libtinfo5, p-cpe:/a:canonical:ubuntu_linux:libncurses5, p-cpe:/a:canonical:ubuntu_linux:ncurses-term, p-cpe:/a:canonical:ubuntu_linux:lib32ncurses5, p-cpe:/a:canonical:ubuntu_linux:libx32tinfo-dev, p-cpe:/a:canonical:ubuntu_linux:lib64ncurses5, p-cpe:/a:canonical:ubuntu_linux:lib64ncurses5-dev

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2022/5/26

漏洞发布日期: 2017/6/29

参考资料信息

CVE: CVE-2017-10684, CVE-2017-10685, CVE-2017-11112, CVE-2017-11113, CVE-2017-13728, CVE-2017-13729, CVE-2017-13730, CVE-2017-13731, CVE-2017-13732, CVE-2017-13733, CVE-2017-13734

USN: 5448-1