{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework.security:spring-security-core and org.springframework:spring-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2011-2894 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 2.0.7 or 3.0.6.","what":"CVE-2011-2894 is a medium-severity unsafe deserialization vulnerability in Vmware Spring Framework, published on 4 Oct 2011. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-2894 and fix it if it is affected.\n\nWhat it is: CVE-2011-2894 is a medium-severity unsafe deserialization vulnerability in Vmware Spring Framework, published on 4 Oct 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2011-2894 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected from 2.0.0; fixed in 2.0.7\n- org.springframework.security:spring-security-core (Maven): affected from 2.0.0; fixed in 2.0.7\n- org.springframework.security:spring-security-core (Maven): affected from 3.0.0; fixed in 3.0.6\n- org.springframework.security:spring-security-core (Maven): affected from 3.0.0; fixed in 3.0.6\n- org.springframework:spring-core (Maven): affected from 3.0.0; fixed in 3.0.6\n- org.springframework:spring-core (Maven): affected from 3.0.0; fixed in 3.0.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2011-2894/ (Markdown: https://insights.sbomify.com/CVE-2011-2894/index.md)","id":"CVE-2011-2894","markdown":"https://insights.sbomify.com/CVE-2011-2894/index.md","name":"CVE-2011-2894","record":{"aliases":["GHSA-f866-m9mv-2xr3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java application framework","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by sending malicious serialized objects to applications using vulnerable Spring Framework or Spring Security versions.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"spring_framework","vendor":"vmware"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-502","name":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2013-07-31","github_poc":1,"max_poc_stars":44,"metasploit":0,"nuclei":0,"refs":[{"date":"2013-07-31T08:48:19Z","kind":"github_poc","ref":"https://github.com/pwntester/SpringBreaker","stars":44,"title":"Exploit PoC for Spring RCE issue (CVE-2011-2894)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data","id":"CVE-2011-2894","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"vmware:spring_framework","products":["vmware:spring_framework"],"type":"deserialization","year":"2011"},"n_packages":6,"n_references":8,"next":{"headline":"Memory corruption in n/a","id":"CVE-2011-2895"},"packages":[{"ecosystem":"Maven","fixed":["2.0.7"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-f866-m9mv-2xr3"},{"ecosystem":"Maven","fixed":["2.0.7"],"introduced":["2.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-f866-m9mv-2xr3"},{"ecosystem":"Maven","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-f866-m9mv-2xr3"},{"ecosystem":"Maven","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-f866-m9mv-2xr3"},{"ecosystem":"Maven","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework:spring-core","purl":null,"source":"GHSA-f866-m9mv-2xr3"},{"ecosystem":"Maven","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework:spring-core","purl":"pkg:maven/org.springframework/spring-core","source":"GHSA-f866-m9mv-2xr3"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2011-2893"},"products":["n/a"],"published":"2011-10-04","related":[{"cvss_score":9.8,"headline":"Spring Framework Improper Path Limitation in XsltView","id":"CVE-2026-47884","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Server Sent Event stream corruption while rendering fragments","id":"CVE-2026-47890","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder","id":"CVE-2026-47891","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints","id":"CVE-2026-47892","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Server Sent Event stream corruption in Spring MVC functional web framework","id":"CVE-2026-59313","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Pivotal Spring Framework contains unsafe Java deserialization methods","id":"CVE-2016-1000027","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":9.1,"headline":"Spring Framework Safety Guard Bypass via SpEL Expression Compilation","id":"CVE-2026-59283","kev_date_added":null,"published":"2026-08-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by sending malicious serialized objects to applications using vulnerable Spring Framework or Spring Security versions.","url":"https://insights.sbomify.com/CVE-2011-2894/"}