公告ID(KYSA-202412-1127)
公告ID:KYSA-202412-1127
公告摘要:ghostscript安全漏洞
等級:重要
發布日期:2024-12-17
詳細介紹
1.修復的漏洞
·CVE-2024-33871
描述:Artifex Ghostscript是一套建基于 Adobe、PostScript 及可移植文檔格式的頁面描述語言等而編譯成的自由軟件。
Artifex Ghostscript 存在安全漏洞,該漏洞源于允許通過自定義驅動程序庫執行任意代碼。
·CVE-2024-46951
描述:在10.04.0之前的Artifex Ghostscript中的psi/zcolor.c中發現了一個問題。模式顏色空間中未選中的實現指針可能會導致任意代碼執行。
·CVE-2024-46953
描述:在10.04.0之前的Artifex Ghostscript中的base/gsdevice.c中發現了一個問題。解析文件名格式字符串(用于輸出文件名)時發生整數溢出會導致路徑截斷,并可能導致路徑遍歷和代碼執行。
·CVE-2024-46955
描述:在10.04.0之前的Artifex Ghostscript中的psi/zcolor.c中發現了一個問題。在索引顏色空間中讀取顏色時存在越界讀取。
·CVE-2024-46956
描述:在10.04.0之前的Artifex Ghostscript中的psi/zfile.c中發現了一個問題。filenameforall中的越界數據訪問可能會導致任意代碼執行。
2.受影響的軟件包
·銀河麒麟高級服務器操作系統 V10 HPC
·aarch64架構:
ghostscript-help、ghostscript-tools-dvipdf、ghostscript、ghostscript-devel
·x86_64架構:
ghostscript-help、ghostscript-tools-dvipdf、ghostscript、ghostscript-devel
·銀河麒麟云底座操作系統 V10
·aarch64架構:
ghostscript-help、ghostscript-tools-dvipdf、ghostscript、ghostscript-devel
·x86_64架構:
ghostscript-help、ghostscript-tools-dvipdf、ghostscript、ghostscript-devel
3.軟件包修復版本
·銀河麒麟高級服務器操作系統 V10 HPC (aarch64)
ghostscript-9.55.0-17.ky10h或以上版本
ghostscript-help-9.55.0-17.ky10h或以上版本
ghostscript-devel-9.55.0-17.ky10h或以上版本
ghostscript-tools-dvipdf-9.55.0-17.ky10h或以上版本
·銀河麒麟高級服務器操作系統 V10 HPC (x86_64)
ghostscript-devel-9.55.0-17.ky10h或以上版本
ghostscript-help-9.55.0-17.ky10h或以上版本
ghostscript-tools-dvipdf-9.55.0-17.ky10h或以上版本
ghostscript-9.55.0-17.ky10h或以上版本
·銀河麒麟云底座操作系統 V10 (aarch64、x86_64)
ghostscript-devel-9.55.0-17.ky10h或以上版本
ghostscript-9.55.0-17.ky10h或以上版本
ghostscript-tools-dvipdf-9.55.0-17.ky10h或以上版本
ghostscript-help-9.55.0-17.ky10h或以上版本
4.修復方法
方法一:配置源進行升級安裝
1.打開軟件包源配置文件,根據倉庫地址進行修改。
倉庫源地址:
銀河麒麟高級服務器操作系統 V10 HPC
aarch64:https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/
銀河麒麟云底座操作系統 V10
aarch64:https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/
2.配置完成后執行更新命令進行升級,命令如下:
yum update Packagename
方法二:下載安裝包進行升級安裝
通過軟件包地址下載軟件包,使用軟件包升級命令根據受影響的軟件包
列表進行升級安裝, 命令如下:
yum install Packagename
3.升級完成后是否需要重啟服務或操作系統:
CVE-2024-33871:無需重啟操作系統與服務即可使漏洞修復生效。
CVE-2024-46951:無需重啟操作系統與服務即可使漏洞修復生效。
CVE-2024-46953:無需重啟操作系統與服務即可使漏洞修復生效。
CVE-2024-46955:無需重啟操作系統與服務即可使漏洞修復生效。
CVE-2024-46956:無需重啟操作系統與服務即可使漏洞修復生效。
5.軟件包下載地址
·銀河麒麟高級服務器操作系統 V10 HPC
ghostscript(aarch64)軟件包下載地址:
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ghostscript-tools-dvipdf-9.55.0-17.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ghostscript-help-9.55.0-17.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ghostscript-9.55.0-17.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ghostscript-devel-9.55.0-17.ky10h.aarch64.rpm
ghostscript(x86_64)軟件包下載地址:
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ghostscript-9.55.0-17.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ghostscript-help-9.55.0-17.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ghostscript-devel-9.55.0-17.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ghostscript-tools-dvipdf-9.55.0-17.ky10h.x86_64.rpm
·銀河麒麟云底座操作系統 V10
ghostscript(aarch64)軟件包下載地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ghostscript-devel-9.55.0-17.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ghostscript-tools-dvipdf-9.55.0-17.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ghostscript-9.55.0-17.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ghostscript-help-9.55.0-17.ky10h.noarch.rpm
ghostscript(x86_64)軟件包下載地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ghostscript-devel-9.55.0-17.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ghostscript-tools-dvipdf-9.55.0-17.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ghostscript-9.55.0-17.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ghostscript-help-9.55.0-17.ky10h.noarch.rpm
注:其他相關依賴包請到相同目錄下載
6.修復驗證
使用軟件包查詢命令,查看相關軟件包版本是否與修復版本一致,如果版本一致,則說明修復成功。
sudo rpm -qa | grep Packagename