cve.bz

CVE-2024-22271 spring by vmware tanzu spring cloud function framework: Improper Input Validation

8.2 highEPSS 0.4%Fix available

High (8.2) in spring by vmware tanzu spring cloud function framework. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.cloud:spring-cloud-function-context 4.0.8, 4.1.2.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-07-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.cloud:spring-cloud-function-context (Maven): fixed in 4.0.8, 4.1.2

Ask an AI about this CVE

Show the promptExplain CVE-2024-22271 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-22271?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-22271?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-22271 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring by VMware Tanzu Spring Cloud Function FrameworkSpring Cloud Function Framework 4.1.0-4.1.2, Spring Cloud Functi

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j4r7-p9fp-w3f3Mavenorg.springframework.cloud:spring-cloud-function-context>=4.0.0 <4.0.84.0.8
GHSA-j4r7-p9fp-w3f3Mavenorg.springframework.cloud:spring-cloud-function-context>=4.1.0 <4.1.24.1.2

Red Hat

Red Hat rates this Important.

Red Hat's statement

The vulnerability in the Spring Cloud Function framework, which allows an attacker to trigger a cache overflow by attempting to compose functions with nonexisting functions, represents a important severity issue due to its potential to facilitate Denial of Service (DoS) attacks. Such attacks can exploit the cache overflow mechanism to consume excessive computational resources, thereby degrading system performance and rendering the application unavailable to legitimate users.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
A-MQ Clients 2org.springframework.cloud/spring-cloud-function-contextNot affected
Red Hat Data Grid 8org.springframework.cloud/spring-cloud-function-contextNot affected
Red Hat JBoss Data Grid 7org.springframework.cloud/spring-cloud-function-contextWill not fix
Red Hat JBoss Enterprise Application Platform 7spring-cloud-function-contextNot affected
Red Hat JBoss Enterprise Application Platform 8spring-cloud-function-contextNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packorg.springframework.cloud/spring-cloud-function-contextAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-22271.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON