Debian DLA-3315-1:sox - LTS 安全更新

critical Nessus 插件 ID 171357

简介

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

描述

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

- 远程攻击者可利用 Sound eXchange (SoX) 14.4.2 中 hcom.c 的 read_samples 函数,通过特别构建的 hcom 文件造成拒绝服务(无效内存读取和应用程序崩溃)。(CVE-2017-11358)

- 在 SoX 14.4.2 的 libsox.a 中发现了一个问题。在 sox-fmt.h(startread 函数)中,馈送至封装 malloc 的 lsx_calloc 宏的整数加法(回绕至 0)结果存在整数溢出。返回空指针后时,应用程序会在未事先检查指针有效性的情况下使用该指针,导致 format_i.c 中的 lsx_readbuf 发生空指针取消引用。 (CVE-2019-13590)

- 在 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 程序包。

对于 Debian 10 buster,已在 14.4.2+git20190427-1+deb10u1 版本中修复这些问题。

另见

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

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

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

https://security-tracker.debian.org/tracker/CVE-2017-11358

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

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/buster/sox

插件详情

严重性: Critical

ID: 171357

文件名: debian_DLA-3315.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2023/2/10

最近更新时间: 2023/2/13

支持的传感器: 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-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:10.0

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

可利用: true

易利用性: Exploits are available

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

漏洞发布日期: 2017/7/31

参考资料信息

CVE: CVE-2017-11358, CVE-2019-13590, CVE-2021-23159, CVE-2021-23172, CVE-2021-23210, CVE-2021-33844, CVE-2021-3643, CVE-2021-40426, CVE-2022-31650, CVE-2022-31651