GHSA-f866-m9mv-2xr3Medium

Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data

Published
May 14, 2022
Last Modified
March 14, 2024

🔗 CVE IDs covered (1)

📋 Description

Spring Framework 3.0.0 through 3.0.5, Spring Security 3.0.0 through 3.0.5 and 2.0.0 through 2.0.6, and possibly other versions deserialize objects from untrusted sources, which allows remote attackers to bypass intended security restrictions and execute untrusted code by (1) serializing a java.lang.Proxy instance and using InvocationHandler, or (2) accessing internal AOP interfaces, as demonstrated using deserialization of a DefaultListableBeanFactory instance to execute arbitrary commands via the java.lang.Runtime class.

🎯 Affected products3

  • maven/org.springframework:spring-core:>= 3.0.0, < 3.0.6
  • maven/org.springframework.security:spring-security-core:>= 3.0.0, < 3.0.6
  • maven/org.springframework.security:spring-security-core:>= 2.0.0, < 2.0.7

🔗 References (11)