GitHub Advisoryadvisory · Maven

GHSA-g5vr-rgqm-vf78 Spring Framework Path Traversal vulnerability

HIGH Published 2024-12-19 Modified 2026-09-28 Official page ↗
Aliases
CVE-2024-38819
Ecosystem
Maven
Packages
org.springframework:spring-webflux, org.springframework:spring-webmvc
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2024-12-19

Affected packages

• Maven org.springframework:spring-webflux: >= 6.1.0, < 6.1.14 → fixed in 6.1.14 • Maven org.springframework:spring-webmvc: >= 6.1.0, < 6.1.14 → fixed in 6.1.14 • Maven org.springframework:spring-webflux: <= 5.3.40 (no fix yet) • Maven org.springframework:spring-webmvc: <= 5.3.40 (no fix yet) • Maven org.springframework:spring-webflux: >= 6.0.0, <= 6.0.24 (no fix yet) • Maven org.springframework:spring-webmvc: >= 6.0.0, <= 6.0.24 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-38819 Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References