CVE-2011-2894

Deserialization of Untrusted Data in maven/org.springframework/spring-core

Identifiers

GHSA-f866-m9mv-2xr3, CVE-2011-2894

Package Slug

maven/org.springframework/spring-core

Vulnerability

Deserialization of Untrusted Data

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 Versions

All versions starting from 3.0.0 before 3.0.6

Solution

Upgrade to version 3.0.6 or above.

Last Modified

2022-07-26

source