Improper Control of Generation of Code ('Code Injection') in Spring Framework
SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by a URL of a crafted .jar file.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework:spring | >= 2.5.0, < 2.5.7, >= 3.0.0, < 3.0.3 | 2.5.7, 3.0.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-1622
- https://github.com/spring-projects/spring-framework/commit/3a5af35d37c79d0644d49b93f792a4c18fe8eb71
- https://access.redhat.com/errata/RHSA-2011:0175
- https://access.redhat.com/security/cve/CVE-2010-1622
- https://bugzilla.redhat.com/show_bug.cgi?id=606706
- https://github.com/spring-projects/spring-framework
- https://seclists.org/fulldisclosure/2010/Jun/456
- https://web.archive.org/web/20100623011648/http://www.springsource.com/security/cve-2010-1622
- https://web.archive.org/web/20161014113129/http://www.securitytracker.com/id/1033898
- https://web.archive.org/web/20200227210033/http://www.securityfocus.com/archive/1/511877
- https://web.archive.org/web/20200228060816/http://www.securityfocus.com/bid/40954
- http://geronimo.apache.org/2010/07/21/apache-geronimo-v216-released.html
- http://geronimo.apache.org/21x-security-report.html
- http://geronimo.apache.org/22x-security-report.html
- http://www.exploit-db.com/exploits/13918
- http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html
- http://www.redhat.com/support/errata/RHSA-2011-0175.html
- Weakness (CWE)
CWE-94- Platform
- Java / Kotlin (Maven)
- Package
org.springframework:spring- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vpr3-f594-mg5g - CC BY 4.0
Vulnerability history: org.springframework:spring
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2022 03.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- Medium 2
Disclosures per year
- 2022: 2
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Improper Control of Generation of Code ('Code Injection') in Spring Framework this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.