Amazon Linux 2 : ghostscript (ALAS-2025-2805)

critical Nessus 插件 ID 233686

简介

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

描述

远程主机上安装的 ghostscript 版本低于 9.54.0-9。因此,该软件受到 ALAS2-2025-2805 公告中提及的多个漏洞影响。

DollarBlend 在序列化要传递到 Freetype 的多种主字体期间存在潜在的整数和缓冲区溢出。通过以下方式完成修复:将变量类型从 short 更改为 unsigned short,并检查长度变量是否超过允许的限制。已在 ghostpdl-10.05.0 中修复(CVE-2025-27830)

长字符的文本缓冲区溢出; txt_get_unicode 函数从修复的字形名称复制了过少的字节到 unicode 映射表。在相对罕见的情况下,这可能造成不正确的 Unicode 代码点,但并不会导致问题。但是,附加到字体的错误格式 GlyphNames2Unicode 数组可能导致解码溢出已分配的缓冲区。

在 ghostpdl-10.05.0 中已修补 (CVE-2025-27831)

以 int 值完成了缓冲区大小的计算,致使该数据类型溢出。自文件 contrib/japanese/gdevnpdl.c 创建之后此错误便已存在。以 int 值完成了缓冲区大小的计算,致使该数据类型溢出。通过将总大小计算留给内存管理器,在这种情况下该计算将在 size_t 值中完成并可避免溢出。同时,这意味着内存管理器溢出保护将生效。

在 ghostpdl-10.05.0 中已修复

Info:https://bugs.ghostscript.com/show_bug.cgi?id=708133Patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=57291c846334f1585552010faa42d7cb2cbd5c41 (CVE-2025-27832)

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

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

解决方案

运行“yum update ghostscript”以更新系统。

另见

https://alas.aws.amazon.com/AL2/ALAS-2025-2805.html

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

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

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

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

插件详情

严重性: Critical

ID: 233686

文件名: al2_ALAS-2025-2805.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/4/1

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

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

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 5.5

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

CVSS 分数来源: CVE-2025-27831

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-27832

漏洞信息

CPE: p-cpe:/a:amazon:linux:ghostscript-cups, p-cpe:/a:amazon:linux:libgs, p-cpe:/a:amazon:linux:ghostscript-doc, p-cpe:/a:amazon:linux:ghostscript-gtk, p-cpe:/a:amazon:linux:ghostscript, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:ghostscript-debuginfo, p-cpe:/a:amazon:linux:libgs-devel

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

易利用性: No known exploits are available

补丁发布日期: 2025/3/26

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

参考资料信息

CVE: CVE-2025-27830, CVE-2025-27831, CVE-2025-27832

IAVB: 2025-B-0043