jgeraigery / synapse

Synapse is a set of lightweight foundational framework modules for rapid development, built-in with enterprise-grade maturity and quality.
Apache License 2.0
0 stars 0 forks source link

spring-cloud-starter-function-web-3.2.7.jar: 1 vulnerabilities (highest severity is: 8.2) #85

Open mend-for-github-com[bot] opened 5 months ago

mend-for-github-com[bot] commented 5 months ago
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

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-cloud-starter-function-web version) Remediation Possible** Reachability
CVE-2024-22271 High 8.2 Not Defined 0.0% spring-cloud-function-context-3.2.7.jar Transitive 3.2.8

**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.jar

Implementation 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 Details

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.

Publish Date: 2024-07-09

URL: CVE-2024-22271

### Threat Assessment

Exploit 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 Fix

Type: 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.