BranislavBeno / GitLab-Issue-Importer

MIT License
1 stars 0 forks source link

spring-boot-starter-webflux-3.2.4.jar: 2 vulnerabilities (highest severity is: 8.1) - autoclosed #236

Closed mend-bolt-for-github[bot] closed 7 months ago

mend-bolt-for-github[bot] commented 8 months ago
Vulnerable Library - spring-boot-starter-webflux-3.2.4.jar

Path to dependency file: /app/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.5/4f4e92cc52ee33260f1ee0cdc7b7a2f22d49708c/spring-web-6.1.5.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-webflux version) Remediation Possible**
CVE-2024-22262 High 8.1 spring-web-6.1.5.jar Transitive 3.2.5
CVE-2024-29025 Medium 5.3 netty-codec-http-4.1.107.Final.jar Transitive 3.2.5

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-22262 ### Vulnerable Library - spring-web-6.1.5.jar

Spring Web

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /app/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/6.1.5/4f4e92cc52ee33260f1ee0cdc7b7a2f22d49708c/spring-web-6.1.5.jar

Dependency Hierarchy: - spring-boot-starter-webflux-3.2.4.jar (Root Library) - :x: **spring-web-6.1.5.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html  attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259  and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.

Publish Date: 2024-04-16

URL: CVE-2024-22262

### CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-22262

Release Date: 2024-04-16

Fix Resolution (org.springframework:spring-web): 6.1.6

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-webflux): 3.2.5

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-29025 ### Vulnerable Library - netty-codec-http-4.1.107.Final.jar

Library home page: https://netty.io/

Path to dependency file: /app/build.gradle.kts

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.107.Final/4d8e9e51b7254bd26a42fe17bdcae32e4c6ebb3/netty-codec-http-4.1.107.Final.jar

Dependency Hierarchy: - spring-boot-starter-webflux-3.2.4.jar (Root Library) - spring-boot-starter-reactor-netty-3.2.4.jar - reactor-netty-http-1.1.17.jar - :x: **netty-codec-http-4.1.107.Final.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `HttpPostRequestDecoder` can be tricked to accumulate data. While the decoder can store items on the disk if configured so, there are no limits to the number of fields the form can have, an attacher can send a chunked post consisting of many small fields that will be accumulated in the `bodyListHttpData` list. The decoder cumulates bytes in the `undecodedChunk` buffer until it can decode a field, this field can cumulate data without limits. This vulnerability is fixed in 4.1.108.Final.

Publish Date: 2024-03-25

URL: CVE-2024-29025

### CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-29025

Release Date: 2024-03-25

Fix Resolution (io.netty:netty-codec-http): 4.1.108.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-webflux): 3.2.5

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 7 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.