{"id":"CVE-2011-2894","aliases":["GHSA-f866-m9mv-2xr3"],"kind":"cve","tier":"cold","status":"published","title":"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.","ai_summary":null,"severity":"medium","cvss":{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-502"],"remote":true,"remote_unauth":true,"epss":{"score":0.08601,"percentile":0.95844,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.springframework:spring-core","affected":">= 3.0.0, < 3.0.6","fixed":["3.0.6"],"source":"osv"},{"ecosystem":"Maven","name":"org.springframework.security:spring-security-core","affected":">= 3.0.0, < 3.0.6","fixed":["3.0.6","2.0.7"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade org.springframework:spring-core to 3.0.6 or later.\nUpgrade org.springframework.security:spring-security-core to one of 3.0.6, 2.0.7 (or later in the same release line).","technologies":[],"references":[{"url":"http://www.springsource.com/security/cve-2011-2894","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1334.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-2894","kind":"vendor"},{"url":"https://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb","kind":"patch"},{"url":"http://www.securityfocus.com/bid/49536","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/519593/100/0/threaded","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69687","kind":"other"},{"url":"http://securityreason.com/securityalert/8405","kind":"other"},{"url":"http://osvdb.org/75263","kind":"other"},{"url":"https://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894","kind":"other"},{"url":"https://github.com/spring-projects/spring-framework","kind":"other"}],"workarounds":null,"vendors":["vmware"],"products":["spring_framework","spring_security"],"cpes":["cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*","cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*"],"published_at":"2011-10-04T10:00:00.000Z","modified_at":"2026-06-16T23:32:12.007Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-2894"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-f866-m9mv-2xr3","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2011-2894","markdown":"https://flawdb.com/CVE-2011-2894.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-2894"}}