Path to dependency file: /function/function-samples/sample-function-greeter-aws/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar
Path to dependency file: /function/function-samples/sample-function-book-aws/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar
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.
Vulnerable Library - spring-cloud-starter-function-web-3.2.7.jar
Path to dependency file: /function/function-samples/sample-function-greeter-aws/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar
Found in HEAD commit: ac25342ed87808bc68336b53ce636a671aca91da
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-22271
### Vulnerable Library - spring-cloud-function-context-3.2.7.jarImplementation of core API for Spring Cloud Function
Library home page: https://www.spring.io
Path to dependency file: /function/function-samples/sample-function-book-aws/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar,/home/wss-scanner/.m2/repository/org/springframework/cloud/spring-cloud-function-context/3.2.7/spring-cloud-function-context-3.2.7.jar
Dependency Hierarchy: - spring-cloud-starter-function-web-3.2.7.jar (Root Library) - spring-cloud-function-web-3.2.7.jar - :x: **spring-cloud-function-context-3.2.7.jar** (Vulnerable Library)
Found in HEAD commit: ac25342ed87808bc68336b53ce636a671aca91da
Found in base branch: develop
### Vulnerability DetailsIn 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.
Publish Date: 2024-07-09
URL: CVE-2024-22271
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.0%
### CVSS 3 Score Details (8.2)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-22271
Release Date: 2024-07-09
Fix Resolution (org.springframework.cloud:spring-cloud-function-context): 4.1.2
Direct dependency fix Resolution (org.springframework.cloud:spring-cloud-starter-function-web): 3.2.8
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.