Debian DSA-5356-1:sox - 安全更新

critical Nessus 插件 ID 171811

简介

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

描述

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

- 在 SoX 中发现漏洞,其中 format_i.c 文件中的函数 lsx_read_w_buf() 发生堆缓冲区溢出。攻击者可通过特别构建的文件利用此漏洞,从而导致应用程序崩溃。(CVE-2021-23159)

- 在 SoX 中发现漏洞,其中 hcom.c 文件中的函数 startread() 发生堆缓冲区溢出。攻击者可通过特别构建的 hcomn 文件利用此漏洞,从而导致应用程序崩溃。(CVE-2021-23172)

- 在 SoX 的 voc.c 文件的函数 read_samples() 中发现浮点异常(除以零)问题。通过使用特别构建的文件,攻击者可造成应用程序崩溃。(CVE-2021-23210)

- 在 SoX 的 wav.c 文件的函数 startread() 中发现浮点异常(除以零)问题。通过使用特别构建的 wav 文件,攻击者可造成应用程序崩溃。(CVE-2021-33844)

- 在 sox 14.4.1 中发现一个缺陷。libsox 中的 lsx_adpcm_init 函数导致全局缓冲区溢出。利用此缺陷,攻击者可以输入恶意文件,导致敏感信息泄露。(CVE-2021-3643)

- Sound Exchange libsox 14.4.2 的 sphere.c start_read() 功能以及主提交 42b3557e 中存在基于堆的缓冲区溢出漏洞。特别构建的文件可导致堆缓冲区溢出。攻击者可提供恶意路径来触发此漏洞。(CVE-2021-40426)

- 在 SoX 14.4.2 中,libsox.a 中 aiff.c 的 lsx_aiffstartwrite 存在浮点异常。
(CVE-2022-31650)

- 在 SoX 14.4.2中,libsox.a 中 rate.c 的 rate_init 存在断言失败。(CVE-2022-31651)

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

解决方案

升级 sox 程序包。

对于稳定发行版本 (bullseye),这些问题已在 14.4.2+git20190427-2+deb11u1 版本中解决。

另见

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

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

https://www.debian.org/security/2023/dsa-5356

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

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

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

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

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

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

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

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

https://packages.debian.org/source/bullseye/sox

插件详情

严重性: Critical

ID: 171811

文件名: debian_DSA-5356.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2023/2/22

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

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

CVSS v3

风险因素: Critical

基本分数: 9.1

时间分数: 8.2

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

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

CVSS 分数来源: CVE-2021-3643

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:libsox-dev, p-cpe:/a:debian:debian_linux:libsox-fmt-all, p-cpe:/a:debian:debian_linux:libsox-fmt-alsa, p-cpe:/a:debian:debian_linux:libsox-fmt-ao, p-cpe:/a:debian:debian_linux:libsox-fmt-base, p-cpe:/a:debian:debian_linux:libsox-fmt-mp3, p-cpe:/a:debian:debian_linux:libsox-fmt-oss, p-cpe:/a:debian:debian_linux:libsox-fmt-pulse, p-cpe:/a:debian:debian_linux:libsox3, p-cpe:/a:debian:debian_linux:sox, cpe:/o:debian:debian_linux:11.0

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2023/2/20

漏洞发布日期: 2022/4/14

参考资料信息

CVE: CVE-2021-23159, CVE-2021-23172, CVE-2021-23210, CVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, CVE-2022-31651