漏洞修复地址:github.com/spring-clou…
Spring Cloud官方修复了一个Spring Cloud Function中的SPEL表达式注入漏洞,由于Spring Cloud Function中RoutingFunction类的apply方法将请求头中的“spring.cloud.function.routing-expression”参数作为Spel表达式进行处理,造成了Spel表达式注入漏洞,当使用路由功能时,攻击者可利用该漏洞远程执行任意代码。
受影响版本
- 3.0.0.RELEASE <= Spring Cloud Function <= 3.1.6
- Spring Cloud Function <= 3.2.2
- 官方不再支持的旧版本
注:发布时间为2019年11月22日至2022年2月17日
不受影响版本
- Spring Cloud Function 3.1.7
- Spring Cloud Function 3.2.3