spring-webmvc is vulnerable to Path Traversal
60
Medium Risk
Affected versions of Spring Framework MVC are vulnerable to path traversal when deployed on non-compliant Servlet containers. The issue arises if the application is deployed as a WAR or with an embedded container, the container does not properly reject suspicious path sequences, and the application serves static resources using Spring’s resource handling. While deployments on Apache Tomcat or Eclipse Jetty with default security features enabled are not affected, other containers or configurations may be exploitable, so upgrading to a patched version is strongly recommended.
You are affected if you are using a version that falls within the vulnerable range and you are not deploying on Apache Tomcat or Eclipse Jetty.
spring-webmvc is vulnerable to Path Traversal in versions 0.0.1 - 5.3.43, 6.0.0 - 6.1.13 and 6.2.0 - 6.2.09.
Upgrade the org.springframework:spring-webmvc library to a patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant