spring-context-support is vulnerable to Path Traversal
59
Medium Risk
spring-context-support SpringTemplateLoader does not reject backslash sequences in FreeMarker view names. A view name from untrusted input can escape the template directory and expose files that should not be readable. Applications that do not derive view names from untrusted input are not affected. The patch blocks backslash path traversal in template loading.
You are affected if you are using a version that falls within the vulnerable range and a controller returns a FreeMarker view name derived from untrusted input through SpringTemplateLoader.
spring-context-support is vulnerable to Path Traversal in versions 0.0.1 - 7.0.8.
Upgrade the org.springframework:spring-context-support library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant