Spring Cloud Function Framework vulnerable to Denial of Service
In Spring Cloud Function framework, versions 4.1.x prior to 4.1.2, 4.0.x prior to 4.0.8 an application is vulnerable to a DOS attack when attempting to compose functions with non-existing functions.
Specifically, an application is vulnerable when all of the following are true:
User is using Spring Cloud Function Web module
Affected Spring Products and Versions Spring Cloud Function Framework 4.1.0 to 4.1.2 4.0.0 to 4.0.8
References https://spring.io/security/cve-2022-22979 https://checkmarx.com/blog/spring-function-cloud-dos-cve-2022-22979-and-unintended-function-invocation/ History 2020-01-16: Initial vulnerability report published.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.cloud:spring-cloud-function-context | >= 4.0.0, < 4.0.8, >= 4.1.0, < 4.1.2 | 4.0.8, 4.1.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22271
- https://github.com/spring-cloud/spring-cloud-function/issues/1139
- https://github.com/spring-cloud/spring-cloud-function/commit/59fe298b67fcb9249db727a7b3a33612fc7a9f75
- https://github.com/spring-cloud/spring-cloud-function
- https://github.com/spring-cloud/spring-cloud-function/releases/tag/v4.1.2
- https://spring.io/security/cve-2024-22271
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.cloud:spring-cloud-function-context- Disclosed
- 09.07.2024
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-j4r7-p9fp-w3f3 - CC BY 4.0
Vulnerability history: org.springframework.cloud:spring-cloud-function-context
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
- 4
- First → latest
- 04.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 1
- Medium 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 2
-
Spring Cloud Function Framework vulnerable to Denial of Service 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.