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

high Nessus 插件 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 中的缓冲区溢出漏洞允许攻击者通过 LibRaw_buffer_datastream: : gets(char*, int)(在 /src/libraw/src/libraw_datastream.cpp 中)升级特权。(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

插件详情

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