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

critical Nessus Plugin ID 158031

概要

遠端 Debian 主機上缺少一個或多個安全性更新。

說明

遠端 Debian 10/11 主機上安裝的多個套件受 dsa-5073 公告中提及的多個弱點影響。

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,於 xmlparse.c 的 storeAtts 函式中左移 29 個 (或更多) 位置,可導致出現 realloc 錯誤行為 (例如,配置的位元組數目太少或僅釋放記憶體)。
(CVE-2021-45960)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 doProlog 存在 m_groupSize 整數溢位弱點。(CVE-2021-46143)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 addBinding 存在整數溢位弱點。(CVE-2022-22822)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 build_model 存在整數溢位弱點。(CVE-2022-22823)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 defineAttribute 存在整數溢位弱點。
(CVE-2022-22824)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 lookup 存在整數溢位弱點。(CVE-2022-22825)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 nextScaffoldPart 存在整數溢位弱點。
(CVE-2022-22826)

- 在 Expat (即 libexpat) 2.4.3 更舊版本中,xmlparse.c 的 storeAtts 存在整數溢位弱點。(CVE-2022-22827)

- 針對具有非零 XML_CONTEXT_BYTES 的組態, 2.4.4 版之前的 Expat (即 libexpat) 的 XML_GetBuffer 中有一個帶正負號的整數溢位弱點。(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

Plugin 詳細資訊

嚴重性: 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