CVE-2024-22271
Spring Cloud Function Web DOS Vulnerability
Reported by vmware · Published July 9, 2024
spring-cloud-function-context is fixed in 4.1.2 and 4.0.8 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-function-context | Maven Central | 4.1.2, 4.0.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring by VMware Tanzu | Spring Cloud Function Framework | Spring Cloud Function Framework 4.1.0-4.1.2, Spring Cloud Function Framework 4.0.0-4.0.8 |
| Maven | org.springframework.cloud:spring-cloud-function-context | 4.0.0, 4.1.0 |
| Spring by VMware Tanzu | Spring Cloud Function Framework | Spring Cloud Function Framework 4.1.0-4.1.2, Spring Cloud Function Framework 4.0.0-4.0.8 |
| vmware | spring_cloud_function | 4.0.0, 4.1.0 |
Timeline
- Jun 19, 2024 CVE Published
- Jul 9, 2024 CVE Updated
- Jul 9, 2024 PoC Published
- Jul 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-22271
vulnetix vdb fixes CVE-2024-22271
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-22271/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22271 advisory
- https://github.com/advisories/GHSA-j4r7-p9fp-w3f3 advisory
- https://github.com/spring-cloud/spring-cloud-function/issues/1139 url
- https://github.com/spring-cloud/spring-cloud-function/commit/59fe298b67fcb9249db727a7b3a33612fc7a9f75 patch
- https://github.com/spring-cloud/spring-cloud-function url
- https://github.com/spring-cloud/spring-cloud-function/releases/tag/v4.1.2 url