MediumGHSA-vpr3-f594-mg5gCVE-2010-1622
Improper Control of Generation of Code ('Code Injection') in Spring Framework
Published 17 May 2022 · Updated 3 Dec 2024
Is your project on an affected org.springframework:spring?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=2.5.0 <2.5.7
- Fixed in
- 2.5.7
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring -DdepVersion=2.5.7 -DforceVersion=true- Affected
- >=3.0.0 <3.0.3
- Fixed in
- 3.0.3
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring -DdepVersion=3.0.3 -DforceVersion=trueDetails
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.
Is GHSA-vpr3-f594-mg5g in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring, and gives you the command that fixes it.
More advisories for org.springframework:spring
- CriticalCVE-2023-20860Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch · 28 Mar 2023
- MediumCVE-2021-22096Improper Output Neutralization for Logs in Spring Framework · 24 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2010-1622
- Linkgithub.com/spring-projects/spring-framework/commit/3a5af35d37c79d0644d49b93f792a4c18fe8eb71
- Linkaccess.redhat.com/errata/RHSA-2011:0175
- Linkaccess.redhat.com/security/cve/CVE-2010-1622
- Linkbugzilla.redhat.com/show_bug.cgi?id=606706
- Packagegithub.com/spring-projects/spring-framework
- Linkseclists.org/fulldisclosure/2010/Jun/456
- Linkweb.archive.org/web/20100623011648/http://www.springsource.com/security/cve-2010-1622
- Linkweb.archive.org/web/20161014113129/http://www.securitytracker.com/id/1033898
- Linkweb.archive.org/web/20200227210033/http://www.securityfocus.com/archive/1/511877
- Linkweb.archive.org/web/20200228060816/http://www.securityfocus.com/bid/40954
- Linkgeronimo.apache.org/2010/07/21/apache-geronimo-v216-released.html
- Linkgeronimo.apache.org/21x-security-report.html
- Linkgeronimo.apache.org/22x-security-report.html
- Linkwww.exploit-db.com/exploits/13918
- Linkwww.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html
- Linkwww.redhat.com/support/errata/RHSA-2011-0175.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.