spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

Does the CVE-2022-22965 Vulnerability Affect spring-cloud-circuitbreaker? #817

Closed TANGHAIHAN closed 1 year ago

TANGHAIHAN commented 1 year ago

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.

ryanjbaxter commented 1 year ago

This is a Spring Framework issue, independent of Spring Cloud. See this post for details https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement