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

critical Nessus Plugin ID 234341

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,會受到 ALAS2023-2025-927 公告中所提及的多個弱點影響。

PDF 解譯器 - 防止無符號整數溢位。大型 Type 4 函式定義可導致無符號整數型計數器溢位,造成配置的緩衝區小於所需值。

資訊: 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)

修復位元組和 short 之間的混淆。從多個 short 而非多個位元組中的字串複製資料,會導致讀取(考慮到記憶體管理員的運作,可能沒有問題)和寫入緩衝區溢位。

資訊: 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 中透過實作更嚴格的緩衝區長度驗證來修復此問題。

資訊: 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 轉換的修補程式。已在 ghostpdl-10.05.0 中透過新增 gp_utf8_to_uint16 函式傳回值檢查來修復此問題。

資訊: 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

Plugin 詳細資訊

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