CVE Vulnerabilities

CVE-2024-38816

Published: Sep 13, 2024 | Modified: Dec 27, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

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.

Specifically, an application is vulnerable when both of the following are true:

  • the web application uses RouterFunctions to serve static resources
  • resource handling is explicitly configured with a FileSystemResource location

However, malicious requests are blocked and rejected when any of the following is true:

Affected Software

Name Vendor Start Version End Version
Libspring-java Ubuntu trusty/esm *
HawtIO 4.0.0 for Red Hat build of Apache Camel 4 RedHat org.springframework/spring-webmvc *
Red Hat build of Apache Camel 4.4.3 for Spring Boot RedHat org.springframework/spring-webmvc *

References