{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-function-context.","exploited":"There is no known exploitation of CVE-2024-22271 in the wild and no public exploit code.","fix":"Upgrade org.springframework.cloud:spring-cloud-function-context to a fixed version for your release line: 4.0.8 or 4.1.2.","what":"CVE-2024-22271 is a high-severity denial of service vulnerability in Spring Cloud Function Framework, published on 9 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-22271 and fix it if it is affected.\n\nWhat it is: CVE-2024-22271 is a high-severity denial of service vulnerability in Spring Cloud Function Framework, published on 9 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-22271 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.0.0; fixed in 4.0.8\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.0.0; fixed in 4.0.8\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.1.0; fixed in 4.1.2\n- org.springframework.cloud:spring-cloud-function-context (Maven): affected from 4.1.0; fixed in 4.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-22271/ (Markdown: https://insights.sbomify.com/CVE-2024-22271/index.md)","id":"CVE-2024-22271","markdown":"https://insights.sbomify.com/CVE-2024-22271/index.md","name":"CVE-2024-22271","record":{"aliases":["GHSA-j4r7-p9fp-w3f3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Cloud Function","requires_auth":"none","summary":"Attackers can cause denial of service in Spring Cloud Function Web applications by composing functions with non-existing functions.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.\n\nSpecifically, an application is vulnerable when all of the following are true:\n\nUser is using Spring Cloud Function Web module\n\nAffected Spring Products and Versions Spring Cloud Function Framework 4.1.0 to 4.1.2 4.0.0 to 4.0.8\n\nReferences  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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Spring Cloud Function Web DOS Vulnerability","id":"CVE-2024-22271","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"Privilege escalation in VMware Cloud Director","id":"CVE-2024-22272"},"packages":[{"ecosystem":"Maven","fixed":["4.0.8"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-j4r7-p9fp-w3f3"},{"ecosystem":"Maven","fixed":["4.0.8"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-j4r7-p9fp-w3f3"},{"ecosystem":"Maven","fixed":["4.1.2"],"introduced":["4.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":null,"source":"GHSA-j4r7-p9fp-w3f3"},{"ecosystem":"Maven","fixed":["4.1.2"],"introduced":["4.1.0"],"last_affected":[],"package":"org.springframework.cloud:spring-cloud-function-context","purl":"pkg:maven/org.springframework.cloud/spring-cloud-function-context","source":"GHSA-j4r7-p9fp-w3f3"}],"prev":{"headline":"Information disclosure in VMware Fusion","id":"CVE-2024-22270"},"products":["Spring Cloud Function Framework"],"published":"2024-07-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-01","vendors":["Spring by VMware Tanzu"]},"summary":"Attackers can cause denial of service in Spring Cloud Function Web applications by composing functions with non-existing functions.","url":"https://insights.sbomify.com/CVE-2024-22271/"}