ADVISORIES

GitHub Advisory Database

GHSA-f866-m9mv-2xr3

Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data

Moderate CVE-2011-2894

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-core
From 3.0.0 before 3.0.6 (fixed in 3.0.6)
Mavenorg.springframework.security:spring-security-core
From 3.0.0 before 3.0.6 (fixed in 3.0.6)
Mavenorg.springframework.security:spring-security-core
From 2.0.0 before 2.0.7 (fixed in 2.0.7)

References