Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.
This is similar to CVE-2024-38816, but with different input.
CVE-2024-38819 - High Severity Vulnerability
Vulnerable Library - spring-webmvc-4.3.9.RELEASE.jar
Spring Web MVC
Library home page: http://projects.spring.io/spring-framework
Path to dependency file: /operation-expert/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/4.3.9.RELEASE/spring-webmvc-4.3.9.RELEASE.jar
Dependency Hierarchy: - spring-boot-starter-hateoas-1.4.7.RELEASE.jar (Root Library) - spring-boot-starter-web-1.4.7.RELEASE.jar - :x: **spring-webmvc-4.3.9.RELEASE.jar** (Vulnerable Library)
Found in HEAD commit: dd01a1d4381c7a3b94ba25748c015a094c33088e
Found in base branch: master
Vulnerability Details
Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running. This is similar to CVE-2024-38816, but with different input.
Publish Date: 2024-06-20
URL: CVE-2024-38819
CVSS 3 Score Details (7.5)
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: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://spring.io/security/cve-2024-38819
Release Date: 2024-06-20
Fix Resolution (org.springframework:spring-webmvc): 6.1.14
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-hateoas): 3.2.11
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.