Amazon Linux 2023:ghostscript、ghostscript-gtk、ghostscript-tools-dvipdf (ALAS2023-2025-927)

critical Nessus 插件 ID 234341

简介

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

描述

因此,该软件受到 ALAS2023-2025-927 公告中提及的多个漏洞影响。

PDF 解释器 - 防止无符号整数溢出。大型 Type 4 函数定义可导致 uint 计数器溢出,分配的缓冲区小于所需。

Info:https://bugs.ghostscript.com/show_bug.cgi?id=708253Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=ef42ff180a04926e187d40faea40d4a43e304e3b (ghostpdl-10.05.0) (CVE-2025-27834)

修复字节和短整型之间的混淆。从多个短整型(而不是多个字节)的字符串中复制数据,从而导致读取(考虑到内存管理器,此问题可能无害)和写入缓冲区溢出。

Info:https://bugs.ghostscript.com/show_bug.cgi?id=708131Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=de900010a6f2310d1fd54e99eeba466693da0e13 (ghostpdl-10.05.0) (CVE-2025-27835)

修复打印缓冲区溢出问题。已通过实现更严格的缓冲区长度验证,在 ghostpdl-10.05.0 中修复此问题。

Info:https://bugs.ghostscript.com/show_bug.cgi?id=708192Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=8b6d19b2b4079da6863ef25f2370f25d4b054919 (ghostpdl-10.05.0) (CVE-2025-27836)

对 UTF-8 转换进行错误检查的补丁。通过添加对 gp_utf8_to_uint16 函数返回值的检查,已在 ghostpdl-10.05.0 中修复此问题。

Info:https://bugs.ghostscript.com/show_bug.cgi?id=708238Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=dbb9f2b11f820697e77863523a8d835ab040e5d1 (ghostpdl-10.05.0) (CVE-2025-27837)

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

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

解决方案

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

另见

https://alas.aws.amazon.com/AL2023/ALAS-2025-927.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27834.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27835.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27836.html

https://alas.aws.amazon.com/cve/html/CVE-2025-27837.html

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

插件详情

严重性: Critical

ID: 234341

文件名: al2023_ALAS2023-2025-927.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/4/14

最近更新时间: 2025/4/14

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

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: Medium

基本分数: 6.6

时间分数: 4.9

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

CVSS 分数来源: CVE-2025-27836

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.5

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

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

CVSS 分数来源: CVE-2025-27837

漏洞信息

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

补丁发布日期: 2025/4/9

漏洞发布日期: 2025/3/25

参考资料信息

CVE: CVE-2025-27834, CVE-2025-27835, CVE-2025-27836, CVE-2025-27837

IAVB: 2025-B-0043