You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.
Affected versions of this package are vulnerable to Path Traversal via the WebMvc.fn and WebFlux.fn frameworks. An attacker can access any file on the file system that is also accessible to the process in which the Spring application is running by crafting malicious HTTP requests.
Note:
This is only exploitable if the web application uses RouterFunctions to serve static resources and resource handling is explicitly configured with a FileSystemResource location.
Workaround
This vulnerability can be mitigated by using the Spring Security HTTP Firewall or running the application on Tomcat or Jetty.
Remediation
Upgrade org.springframework:spring-webmvc to version 6.1.13 or higher.
Overview
org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.
Affected versions of this package are vulnerable to Path Traversal via the
WebMvc.fn
andWebFlux.fn
frameworks. An attacker can access any file on the file system that is also accessible to the process in which the Spring application is running by crafting malicious HTTP requests.Note:
This is only exploitable if the web application uses
RouterFunctions
to serve static resources and resource handling is explicitly configured with aFileSystemResource
location.Workaround
This vulnerability can be mitigated by using the Spring Security HTTP Firewall or running the application on Tomcat or Jetty.
Remediation
Upgrade
org.springframework:spring-webmvc
to version 6.1.13 or higher.References
The text was updated successfully, but these errors were encountered: