Debian DSA-5073-1:expat - 安全更新

critical Nessus 插件 ID 158031

简介

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

描述

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

- 在 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 storeAtts 函数中左移 29 个(或更多)位置,可导致 realloc 出现不当行为(例如,分配的字节过少或仅释放内存)。
(CVE-2021-45960)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 doProlog 中,存在 m_groupSize 整数溢出漏洞。(CVE-2021-46143)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 addBinding 中,存在整数溢出漏洞。(CVE-2022-22822)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 build_model 中,存在整数溢出漏洞。(CVE-2022-22823)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 defineAttribute 中,存在整数溢出漏洞。
(CVE-2022-22824)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 lookup 中,存在整数溢出漏洞。(CVE-2022-22825)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 nextScaffoldPart 中,存在整数溢出漏洞。
(CVE-2022-22826)

- 2.4.3 之前版本的 Expat(也称为 libexpat)的 xmlparse.c 的 storeAtts 中,存在整数溢出漏洞。(CVE-2022-22827)

- Expat(也称为 libexpat)2.4.4 之前版本的 XML_GetBuffer(含非零 XML_CONTEXT_BYTES 配置)中存在一个带符号整数溢出漏洞。(CVE-2022-23852)

- Expat(也称为 libexpat)2.4.4 之前版本的 doProlog 函数中存在一个整数溢出漏洞。(CVE-2022-23990)

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

解决方案

升级 expat 程序包。

对于稳定发行版本 (bullseye),已在 2.2.10-2+deb11u1 版本中修正这些问题。

对于旧版稳定发行版本 (buster),已在 2.2.6-2+deb10u2 版本中修正这些问题。

另见

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

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

https://www.debian.org/security/2022/dsa-5073

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

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

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

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

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

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

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

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

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

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

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

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

插件详情

严重性: Critical

ID: 158031

文件名: debian_DSA-5073.nasl

版本: 1.5

类型: local

代理: unix

发布时间: 2022/2/13

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

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: High

基本分数: 9

时间分数: 7

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

CVSS 分数来源: CVE-2021-45960

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

CVSS 分数来源: CVE-2022-23852

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:expat, p-cpe:/a:debian:debian_linux:libexpat1, p-cpe:/a:debian:debian_linux:libexpat1-dev, p-cpe:/a:debian:debian_linux:libexpat1-udeb, cpe:/o:debian:debian_linux:10.0, cpe:/o:debian:debian_linux:11.0

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2022/2/12

漏洞发布日期: 2022/1/1

参考资料信息

CVE: CVE-2021-45960, CVE-2021-46143, CVE-2022-22822, CVE-2022-22823, CVE-2022-22824, CVE-2022-22825, CVE-2022-22826, CVE-2022-22827, CVE-2022-23852, CVE-2022-23990