jorger-democorp-mend-ghc / JR_WebGoat

Other
0 stars 0 forks source link

CVE-2024-22243 (High, reachable) detected in spring-web-5.3.21.jar - autoclosed #265

Closed mend-for-github-com[bot] closed 1 day ago

mend-for-github-com[bot] commented 1 week ago

CVE-2024-22243 - High Severity Vulnerability

Vulnerable Library - spring-web-5.3.21.jar

Spring Web

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.21/spring-web-5.3.21.jar

Dependency Hierarchy: - spring-boot-starter-web-2.7.1.jar (Root Library) - spring-boot-starter-json-2.7.1.jar - :x: **spring-web-5.3.21.jar** (Vulnerable Library)

Found in base branch: dev

Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.webwolf.FileServer (Application) -> org.springframework.web.servlet.view.RedirectView (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ```

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.

Publish Date: 2024-02-23

URL: CVE-2024-22243

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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-22243

Release Date: 2024-02-23

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.0.0


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 1 day 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.