WaratekVRT Sign in

CVE-2011-2894

Affected software2 products, listed below
Severity6.8 Medium CVSS 2.0
Fixed in3.0.6
WeaknessDeserialization of untrusted data (CWE-502)
Published4 Oct 2011
Updated16 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in GitHub PoC; first seen 2013-07-31.
  • EPSS 8.6% chance in 30 days
IndexArtifactStarsFirst seen
GitHub PoC Exploit PoC for Spring RCE issue (CVE-2011-2894) 44 2013-07-31

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2011-2894

Upgrade the affected software to 3.0.6 or later. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework:spring-core 3.0.0 3.0.6 unbounded
org.springframework.security:spring-security-core 3.0.0 3.0.6 unbounded
org.springframework.security:spring-security-core 2.0.0 2.0.7 unbounded

Products and versions

4 products, 5 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework spring-core generic ≥ 3.0.0 and < 3.0.6
osv org.springframework.security spring-security-core generic ≥ 2.0.0 and < 2.0.7 · ≥ 3.0.0 and < 3.0.6
nvd vmware spring framework generic ≥ 3.0.0 and ≤ 3.0.5
nvd vmware spring security generic ≥ 2.0.0 and ≤ 2.0.6

References

URLTags
https://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/69687 WEB
https://github.com/spring-projects/spring-framework PACKAGE
https://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894 WEB
http://osvdb.org/75263 WEB
http://securityreason.com/securityalert/8405 WEB
http://www.redhat.com/support/errata/RHSA-2011-1334.html WEB
http://www.securityfocus.com/archive/1/519593/100/0/threaded WEB
http://www.securityfocus.com/bid/49536 WEB
http://www.springsource.com/security/cve-2011-2894 WEB

Timeline

Published2011-10-04By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.