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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259 and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
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-Match" headers, e.g. through a Filter.
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 or Spring WebFlux
* io.micrometer:micrometer-core is on the classpath
* an ObservationRegistry is configured in the application to record observations
Typically, Spring Boot applications need the org.springframework.boot:spring-boot-actuator dependency to meet all conditions.
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 application is running.
This is similar to CVE-2024-38816, but with different input.
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 application is running.
Specifically, an application is vulnerable when both of the following are true:
* the web application uses RouterFunctions to serve static resources
* resource handling is explicitly configured with a FileSystemResource location
However, malicious requests are blocked and rejected when any of the following is true:
* the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use
* the application runs on Tomcat or Jetty
Vulnerable Library - spring-boot-starter-web-3.1.0.jar
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/6.0.9/spring-webmvc-6.0.9.jar
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Vulnerabilities
Reachable
Reachable
Reachable
Reachable
Reachable
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-22262
### Vulnerable Library - spring-web-6.0.9.jarSpring Web
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.0.9/spring-web-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - spring-boot-starter-json-3.1.0.jar - :x: **spring-web-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.servlet.FrameworkServlet$1 (Extension) -> org.springframework.web.servlet.FrameworkServlet (Extension) -> org.springframework.web.util.WebUtils (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ``` ### Vulnerability DetailsApplications 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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259 and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Publish Date: 2024-04-16
URL: CVE-2024-22262
### CVSS 3 Score Details (8.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-22262
Release Date: 2024-04-16
Fix Resolution (org.springframework:spring-web): 6.0.19
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.11
In order to enable automatic remediation, please create workflow rules
CVE-2024-22259
### Vulnerable Library - spring-web-6.0.9.jarSpring Web
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.0.9/spring-web-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - spring-boot-starter-json-3.1.0.jar - :x: **spring-web-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.servlet.FrameworkServlet$1 (Extension) -> org.springframework.web.servlet.FrameworkServlet (Extension) -> org.springframework.web.util.WebUtils (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ``` ### Vulnerability DetailsApplications 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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Publish Date: 2024-03-16
URL: CVE-2024-22259
### CVSS 3 Score Details (8.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-22259
Release Date: 2024-03-16
Fix Resolution (org.springframework:spring-web): 6.0.18
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.10
In order to enable automatic remediation, please create workflow rules
CVE-2024-22243
### Vulnerable Library - spring-web-6.0.9.jarSpring Web
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.0.9/spring-web-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - spring-boot-starter-json-3.1.0.jar - :x: **spring-web-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.servlet.FrameworkServlet$1 (Extension) -> org.springframework.web.servlet.FrameworkServlet (Extension) -> org.springframework.web.util.WebUtils (Extension) -> ❌ org.springframework.web.util.UriComponentsBuilder (Vulnerable Component) ``` ### Vulnerability DetailsApplications 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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
Publish Date: 2024-02-23
URL: CVE-2024-22243
### CVSS 3 Score Details (8.1)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-22243
Release Date: 2024-02-23
Fix Resolution (org.springframework:spring-web): 6.0.17
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.9
In order to enable automatic remediation, please create workflow rules
CVE-2024-38809
### Vulnerable Library - spring-web-6.0.9.jarSpring Web
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.0.9/spring-web-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - spring-boot-starter-json-3.1.0.jar - :x: **spring-web-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.lessons.hijacksession.HijackSessionAssignment (Application) -> org.springframework.web.filter.ShallowEtagHeaderFilter$ConditionalContentCachingResponseWrapper (Extension) -> org.springframework.web.filter.ShallowEtagHeaderFilter (Extension) -> ❌ org.springframework.web.context.request.ServletWebRequest (Vulnerable Component) ``` ### Vulnerability DetailsApplications 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-Match" headers, e.g. through a Filter.
Publish Date: 2024-09-27
URL: CVE-2024-38809
### CVSS 3 Score Details (5.3)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-38809
Release Date: 2024-09-27
Fix Resolution (org.springframework:spring-web): 6.0.23
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.2.0
In order to enable automatic remediation, please create workflow rules
CVE-2023-34053
### Vulnerable Library - spring-web-6.0.9.jarSpring Web
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/6.0.9/spring-web-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - spring-boot-starter-json-3.1.0.jar - :x: **spring-web-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Reachability Analysis This vulnerability is potentially reachable ``` org.owasp.webgoat.container.WebSecurityConfig (Application) -> org.springframework.security.config.annotation.web.builders.HttpSecurity (Extension) -> org.springframework.security.config.annotation.web.builders.FilterOrderRegistration (Extension) -> org.springframework.security.web.context.SecurityContextHolderFilter (Extension) -> org.springframework.web.filter.GenericFilterBean (Extension) -> ❌ org.springframework.web.context.support.StandardServletEnvironment (Vulnerable Component) ``` ### Vulnerability DetailsIn 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 or Spring WebFlux * io.micrometer:micrometer-core is on the classpath * an ObservationRegistry is configured in the application to record observations Typically, Spring Boot applications need the org.springframework.boot:spring-boot-actuator dependency to meet all conditions.
Publish Date: 2023-11-28
URL: CVE-2023-34053
### CVSS 3 Score Details (5.3)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: Low
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2023-34053
Release Date: 2023-11-28
Fix Resolution (org.springframework:spring-web): 6.0.14
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.1.6
In order to enable automatic remediation, please create workflow rules
CVE-2024-38819
### Vulnerable Library - spring-webmvc-6.0.9.jarSpring Web MVC
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/6.0.9/spring-webmvc-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - :x: **spring-webmvc-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Vulnerability DetailsApplications 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 application is running. This is similar to CVE-2024-38816, but with different input.
Publish Date: 2024-06-20
URL: CVE-2024-38819
### CVSS 3 Score Details (7.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-38819
Release Date: 2024-06-20
Fix Resolution (org.springframework:spring-webmvc): 6.1.14
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.2.11
In order to enable automatic remediation, please create workflow rules
CVE-2024-38816
### Vulnerable Library - spring-webmvc-6.0.9.jarSpring Web MVC
Library home page: https://spring.io/projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/6.0.9/spring-webmvc-6.0.9.jar
Dependency Hierarchy: - spring-boot-starter-web-3.1.0.jar (Root Library) - :x: **spring-webmvc-6.0.9.jar** (Vulnerable Library)
Found in HEAD commit: 87421051d6f7cef363fd889e6918ec20bc253fb4
Found in base branch: main
### Vulnerability DetailsApplications 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 application is running. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use * the application runs on Tomcat or Jetty
Publish Date: 2024-09-13
URL: CVE-2024-38816
### CVSS 3 Score Details (7.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2024-38816
Release Date: 2024-09-13
Fix Resolution (org.springframework:spring-webmvc): 6.1.13
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-web): 3.2.10
In order to enable automatic remediation, please create workflow rules
In order to enable automatic remediation for this issue, please create workflow rules