Amazon Linux 2:LibRaw (ALAS-2023-2256)

high Nessus Plugin ID 181711

概要

遠端 Amazon Linux 2 主機缺少安全性更新。

說明

遠端主機上安裝的 LibRaw 版本比 0.19.4-1 舊。因此,會受到 ALAS2-2023-2256 公告中所提及的多個弱點影響。

在 libraw\src\postprocessing\aspect_ratio.cpp 中,LibRaw: : 的 stretch() 函式中存在緩衝區溢位弱點。
(CVE-2020-22628)

- 在 LibRaw 中,new_node() 函式 (libraw\src\x3f\x3f_utils_patched.cpp) 存在可透過特製 X3F 檔案觸發的超出邊界寫入弱點。(CVE-2020-35530)

- 在 LibRaw 中,從影像檔讀取資料時,get_huffman_diff() 函式 (libraw\src\x3f\x3f_utils_patched.cpp) 會發生超出邊界讀取問題。(CVE-2020-35531)

- 在 LibRaw 中,simple_decode_row() 函式 (libraw\src\x3f\x3f_utils_patched.cpp) 存在超出邊界讀取弱點,透過具有大型 row_step 欄位的影像可觸發該弱點。
(CVE-2020-35532)

- LibRaw linux/unix v0.20.0 中的緩衝區溢位弱點允許攻擊者透過 /src/libraw/src/libraw_datastream.cpp 中的 LibRaw_buffer_datastream: : gets(char*, int) 提升權限。(CVE-2021-32142)

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

執行「yum update LibRaw」以更新系統。

另請參閱

https://alas.aws.amazon.com/AL2/ALAS-2023-2256.html

https://alas.aws.amazon.com/cve/html/CVE-2020-22628.html

https://alas.aws.amazon.com/cve/html/CVE-2020-35530.html

https://alas.aws.amazon.com/cve/html/CVE-2020-35531.html

https://alas.aws.amazon.com/cve/html/CVE-2020-35532.html

https://alas.aws.amazon.com/cve/html/CVE-2021-32142.html

https://alas.aws.amazon.com/faqs.html

Plugin 詳細資訊

嚴重性: High

ID: 181711

檔案名稱: al2_ALAS-2023-2256.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2023/9/20

已更新: 2023/9/21

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.2

時間分數: 5.6

媒介: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2021-32142

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 7

媒介: CVSS:3.0/AV:L/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:amazon:linux:libraw, p-cpe:/a:amazon:linux:libraw-debuginfo, p-cpe:/a:amazon:linux:libraw-devel, p-cpe:/a:amazon:linux:libraw-static, cpe:/o:amazon:linux:2

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/9/13

弱點發布日期: 2022/9/1

參考資訊

CVE: CVE-2020-22628, CVE-2020-35530, CVE-2020-35531, CVE-2020-35532, CVE-2021-32142