Improper Neutralization of Directives in Dynamically Evaluated Code in Spring Framework
Published 17 May 2022 · Updated 5 Dec 2024
Is your project on an affected org.springframework:spring-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=3.0.0 <3.0.6
- Fixed in
- 3.0.6
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=3.0.6 -DforceVersion=true- Affected
- <2.5.6.SEC03
- Fixed in
- 2.5.6.SEC03
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=2.5.6.SEC03 -DforceVersion=true- Affected
- >=2.5.7.SR0 <2.5.7.SR023
- Fixed in
- 2.5.7.SR023
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=2.5.7.SR023 -DforceVersion=trueDetails
VMware SpringSource Spring Framework before 2.5.6.SEC03, 2.5.7.SR023, and 3.x before 3.0.6, when a container supports Expression Language (EL), evaluates EL expressions in tags twice, which allows remote attackers to obtain sensitive information via a (1) name attribute in a (a) spring:hasBindErrors tag; (2) path attribute in a (b) spring:bind or (c) spring:nestedpath tag; (3) arguments, (4) code, (5) text, (6) var, (7) scope, or (8) message attribute in a (d) spring:message or (e) spring:theme tag; or (9) var, (10) scope, or (11) value attribute in a (f) spring:transform tag, aka "Expression Language Injection."
Is GHSA-wv88-pf73-x22p 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-core, and gives you the command that fixes it.
More advisories for org.springframework:spring-core
- LowCVE-2026-41848Spring Framework Denial of Service via AntPathMatcher · 9 Jun 2026
- HighCVE-2025-41249Spring Framework annotation detection mechanism may result in improper authorization · 16 Sept 2025
- HighCVE-2024-22233Spring Framework server Web DoS Vulnerability · 22 Jan 2024
- MediumCVE-2021-22096Improper Output Neutralization for Logs in Spring Framework · 24 May 2022
- MediumCVE-2011-2894Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data · 14 May 2022
- MediumCVE-2014-3578Improper Limitation of a Pathname to a Restricted Directory in Spring Framework · 14 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-2730
- Linkgithub.com/spring-projects/spring-framework/commit/62ccc8dd7e645fb91705d44919abac838cb5ca3f
- Linkgithub.com/spring-projects/spring-framework/commit/9772eb8410e37cd0bdec0d1b133218446c778beb
- Linkgithub.com/spring-projects/spring-framework/commit/b8d86330d1fadc645630416c3aaebf131bf749fc
- Linkdocs.google.com/document/d/1dc1xxO8UMFaGLOwgkykYdghGWm_2Gn0iCrxFsympqcE/edit
- Packagegithub.com/spring-projects/spring-framework
- Linkbugs.debian.org/cgi-bin/bugreport.cgi?bug=677814
- Linkrhn.redhat.com/errata/RHSA-2013-0191.html
- Linkrhn.redhat.com/errata/RHSA-2013-0192.html
- Linkrhn.redhat.com/errata/RHSA-2013-0194.html
- Linkrhn.redhat.com/errata/RHSA-2013-0195.html
- Linkrhn.redhat.com/errata/RHSA-2013-0196.html
- Linkrhn.redhat.com/errata/RHSA-2013-0198.html
- Linkrhn.redhat.com/errata/RHSA-2013-0221.html
- Linkrhn.redhat.com/errata/RHSA-2013-0533.html
- Linkwww.debian.org/security/2012/dsa-2504
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.