CVE-2011-2894
EPSS 2.0%Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data
Published: 5/14/2022Modified: 12/3/2024
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.
Affected packages (2)
- Maven/org.springframework.security:spring-security-core>= 3.0.0, < 3.0.6
- Maven/org.springframework:spring-core>= 3.0.0, < 3.0.6
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-2894
- PATCHhttps://github.com/spring-projects/spring-framework
- WEBhttp://osvdb.org/75263
- WEBhttp://securityreason.com/securityalert/8405
- WEBhttps://exchange.xforce.ibmcloud.com/vulnerabilities/69687
- WEBhttps://github.com/spring-projects/spring-framework/commit/070a723ef2c886770a063eb9a67f84f74e06edfb
- WEBhttps://web.archive.org/web/20120307233721/http://www.springsource.com/security/cve-2011-2894
- WEBhttp://www.redhat.com/support/errata/RHSA-2011-1334.html
- WEBhttp://www.securityfocus.com/archive/1/519593/100/0/threaded
- WEBhttp://www.securityfocus.com/bid/49536
- WEBhttp://www.springsource.com/security/cve-2011-2894