Amazon Linux AMI : ghostscript (ALAS-2012-42)

high Nessus Plugin ID 69649

概要

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

說明

在 Ghostscript 的 TrueType 位元組程式碼解譯器中,發現一個整數溢位瑕疵。攻擊者可能建立特製的 PostScript 或 PDF 檔案,當解譯該檔案時,可能導致 Ghostscript 當機,或可能執行任意程式碼。(CVE-2009-3743)

據發現,即使利用了「-I」選項或使用「-P-」選項 (避免先搜尋到目前工作目錄) 指定未包含目前工作目錄的搜尋路徑,Ghostscript 仍然會在檢查其他目錄之前,試圖從目前工作目錄讀取 Ghostscript 系統初始設定檔案。如果使用者在含有系統始設定檔案的受攻擊者控制目錄中執行 Ghostscript,可能會引發 Ghostscript 執行任意 PostScript 程式碼。
(CVE-2010-2055)

Ghostscript 在其預設的程式庫搜尋路徑中納入了目前工作目錄。如果使用者在含有特製 PostScript 程式庫檔的受攻擊者控制目錄中執行無 '-P-' 選項的 Ghostscript,可能會引發 Ghostscript 執行任意 PostScript 程式碼。在此更新之下,Ghostscript 不再依預設搜尋程式庫檔的目前工作目錄。
(CVE-2010-4820)

注意:CVE-2010-4820 的修正可能會中斷現有組態。若要使用先前、有弱點的行為,請執行具有 '-P' 選項的 Ghostscript (以總是先搜尋目前工作目錄)。

在 Ghostscript 解譯 PostScript Type 1 和 PostScript Type 2 字型檔案的方式中發現了一個瑕疵。攻擊者可建立特製的 PostScript Type 1 或 PostScript Type 2 字型檔案,當解譯該檔案時,可能導致 Ghostscript 當機,或可能執行任意程式碼。(CVE-2010-4054)

解決方案

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

另請參閱

https://alas.aws.amazon.com/ALAS-2012-42.html

Plugin 詳細資訊

嚴重性: High

ID: 69649

檔案名稱: ala_ALAS-2012-42.nasl

版本: 1.6

類型: local

代理程式: unix

已發布: 2013/9/4

已更新: 2018/4/18

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 9.3

媒介: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

弱點資訊

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

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

修補程式發佈日期: 2012/2/8

參考資訊

CVE: CVE-2009-3743, CVE-2010-2055, CVE-2010-4054, CVE-2010-4820

ALAS: 2012-42

RHSA: 2012:0095