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

high Nessus Plugin ID 170983

概要

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

說明

遠端 Debian 10 主機上安裝的多個套件受到 dla-3305 公告中提及的多個弱點影響。

- stb stb_image.h 2.19 版在 catimg、Emscripten 和其他產品中使用時,在 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 函式有一個 NULL 指標解除參照問題,允許攻擊者透過開啟特製的 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)

- 在 stb stb_image.h 1.33 至 2.27 版中發現一個問題。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

Plugin 詳細資訊

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