突發(fā)!Spring Cloud 爆高危漏洞。。趕緊修復(fù)!
閱讀本文大概需要 2.8 分鐘。
來自:網(wǎng)絡(luò)
Spring Cloud 突發(fā)漏洞
問題描述

漏洞1:Spring Cloud Gateway?遠(yuǎn)程代碼執(zhí)行漏洞(CVE-2022-22947)
漏洞描述
影響范圍
除了 Spring Cloud Gateway 外,程序還用到了 Spring Boot Actuator 組件(它用于對(duì)外提供 /actuator/ 接口);
Spring 配置對(duì)外暴露 gateway 接口,如 application.properties 配置為:
# 默認(rèn)為truemanagement.endpoint.gateway.enabled=true# 以逗號(hào)分隔的一系列值,默認(rèn)為 health# 若包含 gateway 即表示對(duì)外提供 Spring Cloud Gateway 接口management.endpoints.web.exposure.include=gateway
Spring Cloud Gateway 3.1.x < 3.1.1 Spring Cloud Gateway 3.0.x < 3.0.7 其他舊的、不受支持的 Spring Cloud Gateway 版本
解決方案
Spring Cloud Gateway 3.1.1
Spring Cloud Gateway 3.0.7
management.endpoint.gateway.enabled 為 false。
漏洞2:CVE-2022-22946:Spring Cloud Gateway HTTP2 不安全的 TrustManager
漏洞描述
影響范圍
解決方案
參考資料
https://tanzu.vmware.com/security/cve-2022-22946 https://tanzu.vmware.com/security/cve-2022-22947
推薦閱讀:
內(nèi)容包含Java基礎(chǔ)、JavaWeb、MySQL性能優(yōu)化、JVM、鎖、百萬(wàn)并發(fā)、消息隊(duì)列、高性能緩存、反射、Spring全家桶原理、微服務(wù)、Zookeeper、數(shù)據(jù)結(jié)構(gòu)、限流熔斷降級(jí)......等技術(shù)棧!
?戳閱讀原文領(lǐng)取!? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??朕已閱?
評(píng)論
圖片
表情

