spring-projects/spring-framework · Security
Spring Framework Path Traversal vulnerability
- GHSA ID
- GHSA-g5vr-rgqm-vf78
- CVE ID
- CVE-2024-38819
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38819 ↗
- https://spring.io/security/cve-2024-38819 ↗
- https://github.com/spring-projects/spring-framework/issues/33689 ↗
- https://github.com/spring-projects/spring-framework/commit/3bfbe30a7814c9ea1556d40df9bd87ddb3ba372d ↗
- https://github.com/spring-projects/spring-framework/commit/fb7890d73975a3d9e0763e0926df2bd0a608e87e ↗
- https://security.netapp.com/advisory/ntap-20250110-0010 ↗
- https://github.com/advisories/GHSA-g5vr-rgqm-vf78 ↗