GitHub Advisoryadvisory · Maven
GHSA-f866-m9mv-2xr3 Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data
MEDIUM
Official page ↗
- Aliases
- CVE-2011-2894
- Ecosystem
- Maven
- Packages
- org.springframework:spring-core, org.springframework.security:spring-security-core
- Severity
- Moderate
- Weaknesses
- CWE-502
- Reviewed
- 2022-07-13
Affected packages
• Maven org.springframework:spring-core: >= 3.0.0, < 3.0.6 → fixed in 3.0.6
• Maven org.springframework.security:spring-security-core: >= 3.0.0, < 3.0.6 → fixed in 3.0.6
• Maven org.springframework.security:spring-security-core: >= 2.0.0, < 2.0.7 → fixed in 2.0.7
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.
Related
Alias · CVE (1)
- CVE-2011-2894 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… vulnerability
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2894 advisory
- 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