GHSA-4773-3jfm-qmx3
Spring Framework Improper Path Limitation with Script View Templates
Quick fix
GHSA-4773-3jfm-qmx3 — org.springframework:spring-webmvc: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.0.6</version> for org.springframework:spring-webmvcDetails
Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.
Are you affected?
Enter the version of the package you're using.
Affected packages
7.0.0-M1Fixed in: 7.0.6# pom.xml: bump <version>7.0.6</version> for org.springframework:spring-webmvc6.2.0Fixed in: 6.2.17# pom.xml: bump <version>6.2.17</version> for org.springframework:spring-webmvc6.0.0No fixed version published yet for org.springframework:spring-webmvc (maven). Pin to a known-safe version or switch to an alternative.
5.3.0No fixed version published yet for org.springframework:spring-webmvc (maven). Pin to a known-safe version or switch to an alternative.
7.0.0-M1Fixed in: 7.0.6# pom.xml: bump <version>7.0.6</version> for org.springframework:spring-webflux6.2.0Fixed in: 6.2.17# pom.xml: bump <version>6.2.17</version> for org.springframework:spring-webflux6.0.0No fixed version published yet for org.springframework:spring-webflux (maven). Pin to a known-safe version or switch to an alternative.
5.3.0No fixed version published yet for org.springframework:spring-webflux (maven). Pin to a known-safe version or switch to an alternative.