Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-core
  4. ›
  5. CVE-2011-2894

CVE-2011-2894: Deserialization of Untrusted Data

May 14, 2022 (updated July 20, 2022)

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.

References

  • osvdb.org/75263
  • securityreason.com/securityalert/8405
  • www.redhat.com/support/errata/RHSA-2011-1334.html
  • www.securityfocus.com/archive/1/519593/100/0/threaded
  • www.securityfocus.com/bid/49536
  • www.springsource.com/security/cve-2011-2894
  • exchange.xforce.ibmcloud.com/vulnerabilities/69687
  • github.com/advisories/GHSA-f866-m9mv-2xr3
  • nvd.nist.gov/vuln/detail/CVE-2011-2894
  • web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894

Code Behaviors & Features

Detect and mitigate CVE-2011-2894 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.0.6

Fixed versions

  • 3.0.6

Solution

Upgrade to version 3.0.6 or above.

Impact 6.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.springframework/spring-core/CVE-2011-2894.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.