Infrastructure vulnerabilities
Spring Framework
Spring (Broadcom) · 30 CVE · Critical 3 · High 11 · In CISA KEV 1
Project site ↗Vendor advisories ↗
Check your version
The Spring Framework modules are released together with one version number.
e.g. 6.1.12 — the spring-core version in mvn dependency:tree / gradle dependencies
All tracked CVEs · 30
Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE) with view fragments. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19
- spring-webmvc≥ 7.0.0, < 7.0.9Fixed in 7.0.9
- spring-webmvc≥ 6.2.0, ≤ 6.2.19Affected up to 6.2.19 — see vendor advisory
Use of XsltView in a Spring MVC application can result in SSRF and RCE attack if the application has an "/**" mapping that results in view rendering, and where the view name is not explicitly specified. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framew…
- spring-webmvc≥ 7.0.0, < 7.0.9Fixed in 7.0.9
- spring-webmvc≥ 6.2.0, ≤ 6.2.19Affected up to 6.2.19 — see vendor advisory
- spring-webmvc≥ 6.1.0, ≤ 6.1.28Affected up to 6.1.28 — see vendor advisory
- spring-webmvc≥ 6.0.0, ≤ 6.0.30Affected up to 6.0.30 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.49Affected up to 5.3.49 — see vendor advisory
- spring-webmvc≤ 5.2.25.RELEASEAffected up to 5.2.25.RELEASE — see vendor advisory
Due to incorrect host parsing, applications that rely on UriComponentsBuilder to parse and validate an externally provided URL string may be exposed to a server-side request forgery (SSRF) attack. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18.
- spring-web≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-web≥ 6.2.0, < 6.2.19Fixed in 6.2.19
Spring MVC and WebFlux applications are vulnerable to Multipart request smuggling attacks. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Applications may be vulnerable to a Regular Expression Denial of Service (ReDoS) attack if an attacker is able to provide a pattern which is then directly or indirectly supplied to one of the following methods in AntPathMatcher: match(String pattern, String path), matchStart(Str…
- spring-core≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-core≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-core≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-core≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC applications which accept user-supplied values in the cssClass, cssErrorClass, or cssStyle attributes of JSP form tags allow arbitrary HTML/JavaScript code injection, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framew…
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Due to incorrect escaping, the use of JavaScriptUtils.javaScriptEscape() may lead to JavaScript code injection in the browser, potentially resulting in a cross-site scripting (XSS) vulnerability. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.…
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
A Spring MVC or Spring WebFlux application which configures a mapping for "/**" where the view name is not explicitly specified allows an attacker to craft a link resulting in a 302 redirect to an arbitrary external host via the redirect: prefix. Affected versions: Spring Framew…
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to Path Traversal attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to Denial of Service (DoS) attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to Information Disclosure attacks when resolving static resources. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.
- spring-webmvc≥ 7.0.0, < 7.0.8Fixed in 7.0.8
- spring-webmvc≥ 6.2.0, < 6.2.19Fixed in 6.2.19
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to Denial of Service attacks when resolving static resources. More precisely, an application can be vulnerable when all the following are true: * the application is using Spring MVC or Spring WebFlux * the application is serving…
- spring-webmvc≥ 7.0.0, < 7.0.7Fixed in 7.0.7
- spring-webmvc≥ 6.2.0, < 6.2.18Fixed in 6.2.18
- spring-webmvc≥ 6.1.0, ≤ 6.1.26Affected up to 6.1.26 — see vendor advisory
- spring-webmvc≤ 5.3.47Affected up to 5.3.47 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources. More precisely, an application can be vulnerable when all the following are true: * the application is using Spring MVC or Spring WebFlux * the application is configuring the r…
- spring-webmvc≥ 7.0.0, < 7.0.7Fixed in 7.0.7
- spring-webmvc≥ 6.2.0, < 6.2.18Fixed in 6.2.18
- spring-webmvc≥ 6.1.0, ≤ 6.1.26Affected up to 6.1.26 — see vendor advisory
- spring-webmvc≤ 5.3.47Affected up to 5.3.47 — see vendor advisory
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 throu…
- spring-webmvc≥ 7.0.0-M1, < 7.0.6Fixed in 7.0.6
- spring-webmvc≥ 6.2.0, < 6.2.17Fixed in 6.2.17
- spring-webmvc≥ 6.0.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Spring MVC and WebFlux applications are vulnerable to stream corruption when using Server-Sent Events (SSE). This issue affects Spring Foundation: 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.
- spring-webmvc≥ 7.0.0-M1, < 7.0.6Fixed in 7.0.6
- spring-webmvc≥ 6.2.0, < 6.2.17Fixed in 6.2.17
- spring-webmvc≥ 6.0.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
The Spring Framework annotation detection mechanism may not correctly resolve annotations on methods within type hierarchies with a parameterized super type with unbounded generics. This can be an issue if such annotations are used for authorization decisions. Your application m…
- spring-core≥ 6.2.0, < 6.2.11Fixed in 6.2.11
- spring-core≥ 6.0.0, ≤ 6.1.22Affected up to 6.1.22 — see vendor advisory
- spring-core≥ 5.3.0, ≤ 5.3.44Affected up to 5.3.44 — see vendor advisory
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container. An application can be vulnerable when all the following are true: * the application is deployed as a WAR or with an embedded Servlet contai…
- spring-webmvc≥ 6.2.0, < 6.2.10Fixed in 6.2.10
- spring-webmvc≥ 6.1.0, ≤ 6.1.21Affected up to 6.1.21 — see vendor advisory
- spring-webmvc≥ 6.0.0, ≤ 6.0.29Affected up to 6.0.29 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.43Affected up to 5.3.43 — see vendor advisory
Description In Spring Framework, versions 6.0.x as of 6.0.5, versions 6.1.x and 6.2.x, an application is vulnerable to a reflected file download (RFD) attack when it sets a “Content-Disposition” header with a non-ASCII charset, where the filename attribute is derived from user-s…
- spring-web≥ 6.2.0, < 6.2.8Fixed in 6.2.8
- spring-web≥ 6.1.0, < 6.1.21Fixed in 6.1.21
- spring-web≥ 6.0.5, ≤ 6.0.23Affected up to 6.0.23 — see vendor advisory
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-webmvc≥ 6.1.0, < 6.1.14Fixed in 6.1.14
- spring-webmvc≥ 6.0.0, ≤ 6.0.24Affected up to 6.0.24 — see vendor advisory
- spring-webmvc≤ 5.3.40Affected up to 5.3.40 — see vendor advisory
Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.
- spring-webmvc≥ 5.3.0, < 5.3.42Fixed in 5.3.42
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.
- spring-web≥ 6.1.0, < 6.1.14Fixed in 6.1.14
- spring-web≥ 6.0.0, ≤ 6.0.24Affected up to 6.0.24 — see vendor advisory
- spring-web≤ 5.3.40Affected up to 5.3.40 — see vendor advisory
Applications that parse ETags from "If-Match" or "If-None-Match" request headers are vulnerable to DoS attack. Users of affected versions should upgrade to the corresponding fixed version. Users of older, unsupported versions could enforce a size limit on "If-Match" and "If-None…
- spring-web≥ 6.1.0, < 6.1.12Fixed in 6.1.12
- spring-web≥ 6.0.0, < 6.0.23Fixed in 6.0.23
- spring-web< 5.3.38Fixed in 5.3.38
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-webmvc≥ 6.1.0, < 6.1.13Fixed in 6.1.13
- spring-webmvc≥ 6.0.0, ≤ 6.0.23Affected up to 6.0.23 — see vendor advisory
- spring-webmvc≥ 5.3.0, ≤ 5.3.39Affected up to 5.3.39 — see vendor advisory
Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect [link removed] attack or to a SSRF attack if the URL is used after pas…
- spring-web≥ 6.1.0, < 6.1.6Fixed in 6.1.6
- spring-web≥ 6.0.0, < 6.0.19Fixed in 6.0.19
- spring-web< 5.3.34Fixed in 5.3.34
Applications that use UriComponentsBuilder in Spring Framework to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect [link removed] attack or to a SSRF attack if the U…
- spring-web≥ 6.1.0, < 6.1.5Fixed in 6.1.5
- spring-web≥ 6.0.0, < 6.0.18Fixed in 6.0.18
- spring-web< 5.3.33Fixed in 5.3.33
Applications that use UriComponentsBuilder to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect [link removed] attack or to a SSRF attack if the URL is used after pas…
- spring-web≥ 6.1.0, < 6.1.4Fixed in 6.1.4
- spring-web≥ 6.0.0, < 6.0.17Fixed in 6.0.17
- spring-web≥ 5.3.0, < 5.3.32Fixed in 5.3.32
- spring-web≤ 5.2.25.RELEASEAffected up to 5.2.25.RELEASE — see vendor advisory
In Spring Framework versions 6.0.15 and 6.1.2, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. Specifically, an application is vulnerable when all of the following are true: * the application uses Spring MV…
- spring-core≥ 6.1.2, < 6.1.3Fixed in 6.1.3
- spring-core≥ 6.0.15, < 6.0.16Fixed in 6.0.16
In Spring Framework versions 6.0.0 - 6.0.13, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. Specifically, an application is vulnerable when all of the following are true: * the application uses Spring MVC…
- spring-webmvc≥ 6.0.0, < 6.0.14Fixed in 6.0.14
Spring Framework running version 6.0.0 - 6.0.6 or 5.3.0 - 5.3.25 using "**" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.
- spring-webmvc≥ 6.0.0, < 6.0.7Fixed in 6.0.7
- spring-webmvc≥ 5.3.0, < 5.3.26Fixed in 5.3.26
A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e…
- spring-beans≥ 5.3.0, < 5.3.18Fixed in 5.3.18
- spring-webmvc≥ 5.3.0, < 5.3.18Fixed in 5.3.18
- spring-beans< 5.2.20.RELEASEFixed in 5.2.20.RELEASE
- spring-webmvc< 5.2.20.RELEASEFixed in 5.2.20.RELEASE