Debian DLA-3305-1:libstb - LTS 安全更新

high Nessus 插件 ID 170983

简介

远程 Debian 主机上缺少一个或多个与安全性相关的更新。

描述

远程 Debian 10 主机上安装的程序包受到 dla-3305 公告中提及的多个漏洞影响。

- catimg、Emscripten 和其他产品中使用的 stb stb_image.h 2.19 版在 stbi__out_gif_code 函数中存在基于堆的缓冲区溢出。(CVE-2018-16981)

- 到 2019-03-04 版为止,stb_vorbis 的 start_decoder 函数中存在堆缓冲区溢出问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务或执行任意代码。
(CVE-2019-13217)

- 到 2019-03-04 版为止,stb_vorbis 的 predict_point 函数中存在除以零问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务。(CVE-2019-13218)

- 到 2019-03-04 版为止,stb_vorbis 的 get_window 函数中存在空指针取消引用问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务。(CVE-2019-13219)

- 到 2019-03-04 版为止,stb_vorbis 的 start_decoder 函数中存在使用未初始化的堆栈变量问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务或泄露敏感信息。(CVE-2019-13220)

- 到 2019-03-04 版为止,stb_vorbis 的 compute_codewords 函数中存在堆栈缓冲区溢出问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务或执行任意代码。
(CVE-2019-13221)

- 到 2019-03-04 版为止,stb_vorbis 的 draw_line 函数中存在全局缓冲区越界读取问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务或泄露敏感信息。(CVE-2019-13222)

- 到 2019-03-04 版为止,stb_vorbis 的 lookup1_values 函数中存在可访问的断言问题,该漏洞允许攻击者通过打开构建的 Ogg Vorbis 文件来造成拒绝服务。(CVE-2019-13223)

- 在 stb 2.26 版中,stb_image.h 的 stbi__extend_receive 函数中存在通过构建的 JPEG 文件的缓冲区溢出漏洞。(CVE-2021-28021)

- stb_image.h 2.27 版在 stbi__jpeg_load 中存在基于堆的缓冲区,从而导致信息泄露或拒绝服务。(CVE-2021-37789)

- 在从 1.33 至 2.27 版的 stb stb_image.h 中发现问题。HDR 加载程序将截断的文件尾 RLE 扫描线解析为无限的零长度运行序列。攻击者可能通过提交构建的 HDR 文件,在使用 stb_image 的应用程序中造成拒绝服务。(CVE-2021-42715)

- 据发现,stb_image.h v2.27 中包含通过 stbi__jpeg_decode_block_prog_dc 函数的整数溢出。攻击者可利用此漏洞,通过不明矢量造成程序拒绝服务 (DoS)。(CVE-2022-28041)

- 据发现,stb_image.h v2.27 中包含通过 stbi__jpeg_huff_decode 函数实现的基于堆的释放后使用。(CVE-2022-28042)

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

解决方案

升级 libstb 程序包。

对于 Debian 10 buster,已在 0.0~git20180212.15.e6afb9c-1+deb10u1 版本中修复这些问题。

另见

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934966

https://security-tracker.debian.org/tracker/source-package/libstb

https://www.debian.org/lts/security/2023/dla-3305

https://security-tracker.debian.org/tracker/CVE-2018-16981

https://security-tracker.debian.org/tracker/CVE-2019-13217

https://security-tracker.debian.org/tracker/CVE-2019-13218

https://security-tracker.debian.org/tracker/CVE-2019-13219

https://security-tracker.debian.org/tracker/CVE-2019-13220

https://security-tracker.debian.org/tracker/CVE-2019-13221

https://security-tracker.debian.org/tracker/CVE-2019-13222

https://security-tracker.debian.org/tracker/CVE-2019-13223

https://security-tracker.debian.org/tracker/CVE-2021-28021

https://security-tracker.debian.org/tracker/CVE-2021-37789

https://security-tracker.debian.org/tracker/CVE-2021-42715

https://security-tracker.debian.org/tracker/CVE-2022-28041

https://security-tracker.debian.org/tracker/CVE-2022-28042

https://packages.debian.org/source/buster/libstb

插件详情

严重性: High

ID: 170983

文件名: debian_DLA-3305.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2023/2/3

最近更新时间: 2023/9/5

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5.3

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

CVSS 分数来源: CVE-2022-28042

CVSS v3

风险因素: High

基本分数: 8.8

时间分数: 7.9

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

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

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:libstb-dev, p-cpe:/a:debian:debian_linux:libstb0, cpe:/o:debian:debian_linux:10.0

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2023/1/31

漏洞发布日期: 2018/9/12

参考资料信息

CVE: CVE-2018-16981, CVE-2019-13217, CVE-2019-13218, CVE-2019-13219, CVE-2019-13220, CVE-2019-13221, CVE-2019-13222, CVE-2019-13223, CVE-2021-28021, CVE-2021-37789, CVE-2021-42715, CVE-2022-28041, CVE-2022-28042