Amazon Linux AMI : ghostscript (ALAS-2025-1967)

critical Nessus Plugin ID 234705

概要

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

說明

遠端主機上安裝的 ghostscript 版本是 8.70-24.34 之前版本。因此,會受到 ALAS-2025-1967 公告中所提及的多個弱點影響。

緩衝區大小的計算是以 int 值完成的,且超出了資料類型的範圍。這個錯誤自 contrib/japanese/gdevnpdl.c 檔案建立以來就一直存在。緩衝區大小的計算是以 int 值完成的,且超出了資料類型的範圍。透過將總大小計算留給記憶體管理員來處理,計算會使用 size_t 值進行,這樣可以避免在此情況下發生溢位問題,同時也代表記憶體管理員的溢位保護將會生效。

已在 ghostpdl-10.05.0 中修正

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

潛在的列印緩衝區溢位。已在 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)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

執行「yum update ghostscript」以更新系統。

另請參閱

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

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

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

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

Plugin 詳細資訊

嚴重性: Critical

ID: 234705

檔案名稱: ala_ALAS-2025-1967.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/4/22

已更新: 2025/4/22

支援的感應器: 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

弱點資訊

CPE: p-cpe:/a:amazon:linux:ghostscript-devel, p-cpe:/a:amazon:linux:ghostscript-doc, p-cpe:/a:amazon:linux:ghostscript, p-cpe:/a:amazon:linux:ghostscript-debuginfo, cpe:/o:amazon:linux

必要的 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-27832, CVE-2025-27836

IAVB: 2025-B-0043