Intel

AIKIDO-2024-10351

spring-webmvc is vulnerable to Path Traversal

Path TraversalCVE-2024-38819 Published Oct 22, 2024

87

High Risk

This Affects:

javaspring-webmvc
0.0.1 - 5.3.40
Fixed in 5.3.41
6.0.0 - 6.0.24
Fixed in 6.0.25
6.1.0 - 6.1.13
Fixed in 6.1.14
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to path traversal. Applications serving static resources through the WebMvc.fn or WebFlux.fn frameworks are susceptible to path traversal attacks. An attacker can craft malicious HTTP requests to access any file on the file system that is accessible to the process running the Spring application.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

spring-webmvc is vulnerable to Path Traversal in versions 0.0.1 - 5.3.40, 6.0.0 - 6.0.24 and 6.1.0 - 6.1.13.

How to fix this

Upgrade the spring-webmvc library to a patch version.