MediumGHSA-558x-2xjg-6232CVE-2022-22950
Allocation of Resources Without Limits or Throttling in Spring Framework
Published 3 Apr 2022 · Updated 8 Nov 2023
Is your project on an affected org.springframework:spring-expression?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=5.3.0 <5.3.17
- Fixed in
- 5.3.17
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-expression -DdepVersion=5.3.17 -DforceVersion=true- Affected
- <5.2.20.RELEASE
- Fixed in
- 5.2.20.RELEASE
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-expression -DdepVersion=5.2.20.RELEASE -DforceVersion=trueDetails
In Spring Framework versions 5.3.0 - 5.3.16, 5.2.0.RELEASE - 5.2.19.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.
Is GHSA-558x-2xjg-6232 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-expression, and gives you the command that fixes it.
More advisories for org.springframework:spring-expression
- HighCVE-2026-41849Spring Framework Denial of Service via Integer Overflow in SpEL Expressions · 9 Jun 2026
- HighCVE-2026-41850Spring Framework Algorithmic Denial of Service via SpEL Expressions · 9 Jun 2026
- MediumCVE-2026-41851Spring Framework Denial of Service via Unbounded Cache in SpEL · 9 Jun 2026
- LowCVE-2026-41852Spring Framework Arbitrary Method Invocation in SpEL Expressions · 9 Jun 2026
- MediumCVE-2024-38808Spring Framework vulnerable to Denial of Service · 20 Aug 2024
- HighCVE-2023-20863Spring Framework vulnerable to denial of service · 13 Apr 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-22950
- Linkgithub.com/spring-projects/spring-framework/issues/28145
- Linkgithub.com/spring-projects/spring-framework/issues/28257
- Linkgithub.com/spring-projects/spring-framework/commit/83ac65915871067c39a4fb255e0d484c785c0c11
- Packagegithub.com/spring-projects/spring-framework
- Linkgithub.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEASE
- Linkgithub.com/spring-projects/spring-framework/releases/tag/v5.3.17
- Linktanzu.vmware.com/security/cve-2022-22950
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.