Intel

AIKIDO-2024-10360

spring-webflux is vulnerable to Path Traversal

Path TraversalCVE-2024-38819 Published Oct 24, 2024

87

High Risk

This Affects:

javaspring-webflux
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 that serve 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, potentially exposing sensitive data or system files.

Who does this affect?

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

Background info

spring-webflux 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 org.springframework:spring-webflux library to a patch version.