CVE-2021-42717
描述:ModSecurity是一個入侵檢測、阻止的引擎可以作為Apache Web服務器的一個模塊或單獨的應用程序來運行,為增強Web應用程序的安全性和保護Web應用程序避免遭受來自已知與未知的攻擊。ModSecurity存在安全漏洞,該漏洞源于 ModSecurity 錯誤處理了過度嵌套的 JSON 對象。精心制作的具有數萬層嵌套深度的 JSON 對象可能會導致 Web 服務器無法為合法請求提供服務。即使是中等大小(例如 300KB)的 HTTP 請求也可能占用一個有限的 NGINX 工作進程數分鐘,并消耗機器上幾乎所有可用的 CPU。
銀河麒麟高級服務器操作系統 V10 SP2
debug/mod_security-debuginfo-2.9.5-1.ky10
mod_security-2.9.5-1.ky10
·銀河麒麟高級服務器操作系統 V10 SP1
mod_security-2.9.5-1.ky10
銀河麒麟高級服務器操作系統 V10 SP2
aarch64:debug/mod_security-debuginfo、mod_security、
x86_64:debug/mod_security-debuginfo、mod_security、
銀河麒麟高級服務器操作系統 V10 SP1
aarch64:mod_security、
mips64el:mod_security、
x86_64:mod_security、
方法一:配置源進行升級安裝
1.打開軟件包源配置文件,根據倉庫地址進行修改。
倉庫源地址:
銀河麒麟高級服務器操作系統 V10 SP2
aarch64:https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/
銀河麒麟高級服務器操作系統 V10 SP1
aarch64:https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/
mips64el:https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/mips64el/
x86_64:https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/
2.配置完成后執行更新命令進行升級,命令如下:
yum update Packagename
方法二:下載安裝包進行升級安裝
通過軟件包地址下載軟件包,使用軟件包升級命令根據受影響的軟件包列表進行升級安裝,命令如下:
yum install Packagename
銀河麒麟高級服務器操作系統 V10 SP2
mod_security aarch64軟件包下載地址:
mod_security x86_64軟件包下載地址:
銀河麒麟高級服務器操作系統 V10 SP1
mod_security aarch64軟件包下載地址:
mod_security mips64el軟件包下載地址:
mod_security x86_64軟件包下載地址:
注:其他相關依賴包請到相同目錄下載