CVE-2011-2894
Spring Framework and Spring Security vulnerable to 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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-core | >= 3.0.0, < 3.0.6 | 3.0.6 |
| org.springframework.security » spring-security-core | >= 2.0.0, < 2.0.7>= 3.0.0, < 3.0.6 | 2.0.7, 3.0.6 |
Blast radius
53% of the dependent artifacts (3,111) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 10,241 |
| 2 hops | 40,714 |
| 3 hops | 50,811 |
| 4 hops | 15,820 |
| 5 hops | 6,135 |
| 6 hops | 1,894 |
Most used dependents
- org.springframework » spring-context18,670 usages
- org.springframework » spring-web12,086 usages
- org.springframework » spring-beans8,721 usages
- org.springframework » spring-webmvc7,538 usages
- org.springframework » spring-jdbc5,611 usages
- org.springframework » spring-tx5,095 usages
- org.springframework » spring-context-support4,340 usages
- org.springframework » spring-aop4,037 usages
- org.springframework.security » spring-security-core3,214 usages
- org.springframework » spring-orm3,194 usages
- org.springframework » spring-expression2,195 usages
- org.springframework.security » spring-security-web2,133 usages
- org.springframework.security » spring-security-config2,063 usages
- org.springframework.data » spring-data-redis1,414 usages
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2011-2894
- Webhttps://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb
- Webhttps://exchange.xforce.ibmcloud.com/vulnerabilities/69687
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894
- Webhttp://osvdb.org/75263
- Webhttp://securityreason.com/securityalert/8405
- Webhttp://www.redhat.com/support/errata/RHSA-2011-1334.html
- Webhttp://www.securityfocus.com/archive/1/519593/100/0/threaded
- Webhttp://www.securityfocus.com/bid/49536
- Webhttp://www.springsource.com/security/cve-2011-2894
