CVE-2011-2894 json
Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data
published 2011-10-04 15 y ago modified 2026-06-16 4 mo ago also GHSA-f866-m9mv-2xr3 , EUVD-2022-3723
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.6%
- EPSS 8.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-core 3.0.6
- maven org.springframework.security:spring-security-core 2.0.7, 3.0.6
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-2894 updated cvss 7.5
Security: Chosen commands execution on the server (Framework) or authentication token bypass (Security) by objects de-serialization
-
Red Hat JBoss SOA Platform 5.1fixed: vendor fix RHSA-2011:1334
-
Red Hat JBoss BRMS 5 unspecified unspecifiednot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.60% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-core | >=3.0.0, <3.0.6 |
3.0.6 |
| maven | org.springframework.security:spring-security-core | >=3.0.0, <3.0.6 >=2.0.0, <2.0.7 |
3.0.6 2.0.7 |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
- Technology feeds
References
-
github.com
/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb
web
-
redhat.com
/support/errata/RHSA-2011-1334.html
vendor-advisory, web, third-party-advisory
-
springsource.com
/security/cve-2011-2894
web, vendor-advisory
-
securityfocus.com
/bid/49536
vdb-entry, web, third-party-advisory
-
securityfocus.com
/archive/1/519593/100/0/threaded
mailing-list, web, third-party-advisory, vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/69687
vdb-entry, web, third-party-advisory
-
securityreason.com
/securityalert/8405
third-party-advisory, web
-
osvdb.org
/75263
vdb-entry, web, broken-link
-
web.archive.org
/web/20120307233721/http://www.springsource.com/security/cve-2011-2894
web
-
nvd.nist.gov
/vuln/detail/CVE-2011-2894
advisory
-
github.com
/spring-projects/spring-framework
package
Sources
- CVE List CVE-2011-2894
- GitHub Advisory GHSA-f866-m9mv-2xr3
- NVD CVE-2011-2894
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.