中危 ncurses _nc_find_entry堆缓冲区溢出漏洞

CVE编号

CVE-2019-17594

利用情况

暂无

补丁情况

官方补丁

披露时间

2019-10-15
漏洞描述
ncurses是一个字符终端处理库,它能够提供一系列函数以供用户调用并生成基于文本的用户界面。

ncurses 6.1-20191012之前版本中的terminfo库的tinfo/comp_hash.c文件的‘_nc_find_entry’函数存在缓冲区错误漏洞。该漏洞源于网络系统或产品在内存上执行操作时,未正确验证数据边界,导致向关联的其他内存位置上执行了错误的读写操作。攻击者可利用该漏洞导致缓冲区溢出或堆溢出等。

解决建议
厂商已发布了漏洞修复程序,请及时关注更新:
https://lists.gnu.org/archive/html/bug-ncurses/2019-10/msg00045.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gnu ncurses * Up to
(excluding)
6.1.20191012
运行在以下环境
系统 alma_linux_8 ncurses * Up to
(excluding)
6.1-9.20180224.el8
运行在以下环境
系统 amazon_2 ncurses * Up to
(excluding)
6.0-8.20170212.amzn2.1.6
运行在以下环境
系统 debian_10 ncurses * Up to
(excluding)
6.1+20181013-2+deb10u2
运行在以下环境
系统 debian_11 ncurses * Up to
(excluding)
6.1+20191019-1
运行在以下环境
系统 debian_12 ncurses * Up to
(excluding)
6.1+20191019-1
运行在以下环境
系统 opensuse_Leap_15.0 tack * Up to
(excluding)
6.1-lp150.9.1
运行在以下环境
系统 opensuse_Leap_15.1 tack * Up to
(excluding)
6.1-lp151.6.3.1
运行在以下环境
系统 oracle_8 ncurses * Up to
(excluding)
6.1-9.20180224.el8
运行在以下环境
系统 redhat_8 ncurses * Up to
(excluding)
6.1-9.20180224.el8
运行在以下环境
系统 rocky_linux_8 ncurses * Up to
(excluding)
6.1-9.20180224.el8
运行在以下环境
系统 suse_12_SP4 tack * Up to
(excluding)
5.9-69.1
运行在以下环境
系统 suse_12_SP5 tack * Up to
(excluding)
5.9-69.1
运行在以下环境
系统 ubuntu_18.04 ncurses * Up to
(excluding)
6.1-1ubuntu1.18.04.1
运行在以下环境
系统 ubuntu_20.04 ncurses * Up to
(excluding)
6.1+20191019-1ubuntu1
运行在以下环境
系统 ubuntu_21.04 ncurses * Up to
(excluding)
6.1+20191019-1ubuntu1
运行在以下环境
系统 ubuntu_21.10 ncurses * Up to
(excluding)
6.1+20191019-1ubuntu1
运行在以下环境
系统 ubuntu_22.04 ncurses * Up to
(excluding)
6.1+20191019-1ubuntu1
运行在以下环境
系统 ubuntu_22.10 ncurses * Up to
(excluding)
6.1+20191019-1ubuntu1
阿里云评分
5.1
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-125 跨界内存读
阿里云安全产品覆盖情况