RHEL 6:ghostscript (RHSA-2012:0095)

high Nessus Plugin ID 57822

概要

遠端 Red Hat 主機缺少一個或多個 ghostscript 的安全性更新。

說明

遠端 Redhat Enterprise Linux 6 主機上安裝的套件受到 RHSA-2012:0095 公告中提及的多個弱點影響。

Ghostscript 是一組提供 PostScript 解譯器的軟體、一組 C 程序 (Ghostscript 程式庫,可使用 PostScript 語言實作圖形功能),以及「可攜式文件格式」(PDF) 檔案的解譯器。

在 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)

建議 Ghostscript 使用者升級至這些更新版套件,其中包含可更正這些問題的反向移植修補程式。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

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

解決方案

依據 RHSA-2012:0095 中的指南更新 RHEL ghostscript 套件。

另請參閱

http://www.nessus.org/u?0566e97f

https://access.redhat.com/errata/RHSA-2012:0095

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=599564

https://bugzilla.redhat.com/show_bug.cgi?id=627902

https://bugzilla.redhat.com/show_bug.cgi?id=646086

https://bugzilla.redhat.com/show_bug.cgi?id=771853

Plugin 詳細資訊

嚴重性: High

ID: 57822

檔案名稱: redhat-RHSA-2012-0095.nasl

版本: 1.21

類型: local

代理程式: unix

已發布: 2012/2/3

已更新: 2025/4/14

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 9.3

時間性分數: 7.3

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

CVSS 評分資料來源: CVE-2009-3743

CVSS v3

風險因素: High

基本分數: 7.8

時間性分數: 7

媒介: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

CVSS 評分資料來源: CVE-2010-4054

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:5, p-cpe:/a:redhat:enterprise_linux:ghostscript-gtk, p-cpe:/a:redhat:enterprise_linux:ghostscript, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:ghostscript-doc, p-cpe:/a:redhat:enterprise_linux:ghostscript-devel

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

可輕鬆利用: No known exploits are available

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

弱點發布日期: 2010/7/22

參考資訊

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

BID: 40467, 42640, 43932

CWE: 190, 20

RHSA: 2012:0095