ADVISORIES

GitHub Advisory Database

GHSA-g5vr-rgqm-vf78

Spring Framework Path Traversal vulnerability

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-webflux
From 6.1.0 before 6.1.14 (fixed in 6.1.14)
Mavenorg.springframework:spring-webmvc
From 6.1.0 before 6.1.14 (fixed in 6.1.14)
Mavenorg.springframework:spring-webflux
All versions up to and including 5.3.40
Mavenorg.springframework:spring-webmvc
All versions up to and including 5.3.40
Mavenorg.springframework:spring-webflux
From 6.0.0 up to and including 6.0.24
Mavenorg.springframework:spring-webmvc
From 6.0.0 up to and including 6.0.24

References