Amazon Linux 2023:ghostscript、ghostscript-gtk、ghostscript-tools-dvipdf (ALAS2023-2024-692)

high Nessus 插件 ID 205084

简介

远程 Amazon Linux 2023 主机缺少安全更新。

描述

因此,它受到 ALAS2023-2024-692 公告中提及的多个漏洞影响。

低于 10.03.0 版的 Artifex Ghostscript 在 pdfi_apply_filter() 函数中存在通过长 PDF 过滤器名称造成的基于堆栈的缓冲区溢出。(CVE-2024-29506)

低于 10.03.0 版的 Artifex Ghostscript 有时会通过 CIDFSubstPath 和 CIDFSubstFont 参数发生基于堆栈的缓冲区溢出。(CVE-2024-29507)

低于 10.03.0 版的 Artifex Ghostscript 在函数 pdf_base_font_alloc 中存在基于堆的指针泄露(可在构造的 BaseFont 名称中发现)。(CVE-2024-29508)

当 PDFPassword(如 runpdf 的 PDFPassword)在中间具有 \000 字节时,低于 10.03.0 版的 Artifex Ghostscript 存在基于堆的溢出。(CVE-2024-29509)

当 Tesseract 用于 OCR 时,低于 10.03.1 版的 Artifex Ghostscript 存在目录遍历问题,其允许通过 OCRLanguage 进行任意文件读取(以及向任意文件写入错误消息)。例如,攻击者可使用 debug_file /tmp/out 和 user_patterns_file /etc/passwd 利用此漏洞。(CVE-2024-29511)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

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

解决方案

运行“dnf update ghostscript --releasever 2023.5.20240805”以更新系统。

另见

https://alas.aws.amazon.com/AL2023/ALAS-2024-692.html

https://alas.aws.amazon.com/cve/html/CVE-2024-29506.html

https://alas.aws.amazon.com/cve/html/CVE-2024-29507.html

https://alas.aws.amazon.com/cve/html/CVE-2024-29508.html

https://alas.aws.amazon.com/cve/html/CVE-2024-29509.html

https://alas.aws.amazon.com/cve/html/CVE-2024-29511.html

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

插件详情

严重性: High

ID: 205084

文件名: al2023_ALAS2023-2024-692.nasl

版本: 1.3

类型: local

代理: unix

发布时间: 2024/8/6

最近更新时间: 2024/12/11

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

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 7.4

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

CVSS 分数来源: CVE-2024-29509

CVSS v3

风险因素: High

基本分数: 8.8

时间分数: 7.7

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:amazon:linux:ghostscript-gtk-debuginfo, p-cpe:/a:amazon:linux:ghostscript-tools-fonts, p-cpe:/a:amazon:linux:ghostscript-x11, p-cpe:/a:amazon:linux:ghostscript-tools-printing, p-cpe:/a:amazon:linux:libgs-debuginfo, p-cpe:/a:amazon:linux:libgs, p-cpe:/a:amazon:linux:ghostscript-tools-dvipdf, p-cpe:/a:amazon:linux:ghostscript-debugsource, p-cpe:/a:amazon:linux:ghostscript-doc, p-cpe:/a:amazon:linux:ghostscript-gtk, p-cpe:/a:amazon:linux:ghostscript, p-cpe:/a:amazon:linux:ghostscript-debuginfo, p-cpe:/a:amazon:linux:libgs-devel, p-cpe:/a:amazon:linux:ghostscript-x11-debuginfo, cpe:/o:amazon:linux:2023

必需的 KB 项: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

易利用性: No known exploits are available

补丁发布日期: 2024/8/1

漏洞发布日期: 2024/6/13

参考资料信息

CVE: CVE-2024-29506, CVE-2024-29507, CVE-2024-29508, CVE-2024-29509, CVE-2024-29511

IAVB: 2024-B-0074-S