CVE-2011-2894
MEDIUM 6.8CVSS 2.0Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data
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.
- Published
- 4 Oct 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-f866-m9mv-2xr3
- Sources
- NVDJSONOSV GHSA-f866-m9mv-2xr3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_frameworkcpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.0.5 | |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 2.0.0, <= 2.0.6 | |
| OSV | Maven | org.springframework:spring-core | >= 3.0.0, < 3.0.6 | 3.0.6 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 3.0.0, < 3.0.6 | 3.0.6 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 2.0.0, < 2.0.7 | 2.0.7 |
References
- http://osvdb.org/75263 · Broken Link, WEB
- http://securityreason.com/securityalert/8405 · Third Party Advisory, WEB
- http://www.redhat.com/support/errata/RHSA-2011-1334.html · Third Party Advisory, WEB
- http://www.securityfocus.com/archive/1/519593/100/0/threaded · Third Party Advisory, VDB Entry, WEB
- http://www.securityfocus.com/bid/49536 · Third Party Advisory, VDB Entry, WEB
- http://www.springsource.com/security/cve-2011-2894 · Vendor Advisory, WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69687 · Third Party Advisory, VDB Entry, WEB
- https://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2011-2894 · ADVISORY
- https://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb · WEB
- https://github.com/spring-projects/spring-framework · PACKAGE
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 4 Oct 2011)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)