Spring Framework vulnerable to Denial of Service
Published 20 Aug 2024 · Updated 10 Sept 2026
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 package
- Affected
- <5.3.39
- Fixed in
- 5.3.39
mvn versions:use-dep-version -Dincludes=org.springframework:spring-expression -DdepVersion=5.3.39 -DforceVersion=trueDetails
In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition. Older, unsupported versions are also affected.
Specifically, an application is vulnerable when the following is true:
- The application evaluates user-supplied SpEL expressions.
Is GHSA-9cmq-m9j5-mvww 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
- HighCVE-2023-20863Spring Framework vulnerable to denial of service · 13 Apr 2023
- MediumCVE-2023-20861Spring Framework vulnerable to denial of service via specially crafted SpEL expression · 23 Mar 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-38808
- Linkgithub.com/spring-projects/spring-framework/commit/26f2dad388499faecf99e75b8856788e95d8d658
- Linkgithub.com/spring-projects/spring-framework/commit/f44d13cb7816e586b86c02421af4f5498391111c
- Packagegithub.com/spring-projects/spring-framework
- Linksecurity.netapp.com/advisory/ntap-20240920-0002
- Linkspring.io/security/cve-2024-38808
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.