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. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
Mend Note: Converted from WS-2022-0107, on 2022-11-07.
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.18
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2016-1000027 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jar
Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be required. NOTE: the vendor's position is that untrusted data is not an intended use case. The product's behavior will not be changed because some users rely on deserialization of trusted data.
Mend Note: After conducting further research, Mend has determined that all versions of spring-web up to version 6.0.0 are vulnerable to CVE-2016-1000027.
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2024-22243 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jar
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.
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22118 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jar
In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-22970 (Unreachable)
### Vulnerable Libraries - spring-beans-5.3.6.jar, spring-core-5.3.6.jar
In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.20
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22096 (Unreachable)
### Vulnerable Libraries - spring-web-5.3.6.jar, spring-core-5.3.6.jar
In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.12
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-22060 (Unreachable)
### Vulnerable Libraries - spring-core-5.3.6.jar, spring-web-5.3.6.jar
In Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
Vulnerable Library - spring-web-5.3.6.jar
Spring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Vulnerabilities
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
Unreachable
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2022-22965 (Unreachable)
### Vulnerable Library - spring-beans-5.3.6.jarSpring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.6/spring-beans-5.3.6.jar
Dependency Hierarchy: - spring-web-5.3.6.jar (Root Library) - :x: **spring-beans-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsA 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. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it. Mend Note: Converted from WS-2022-0107, on 2022-11-07.
Publish Date: 2022-04-01
URL: CVE-2022-22965
### CVSS 3 Score Details (9.8)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: High - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement
Release Date: 2022-04-01
Fix Resolution (org.springframework:spring-beans): 5.3.18
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.18
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2016-1000027 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jarSpring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Dependency Hierarchy: - :x: **spring-web-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsPivotal Spring Framework through 5.3.16 suffers from a potential remote code execution (RCE) issue if used for Java deserialization of untrusted data. Depending on how the library is implemented within a product, this issue may or not occur, and authentication may be required. NOTE: the vendor's position is that untrusted data is not an intended use case. The product's behavior will not be changed because some users rely on deserialization of trusted data. Mend Note: After conducting further research, Mend has determined that all versions of spring-web up to version 6.0.0 are vulnerable to CVE-2016-1000027.
Publish Date: 2020-01-02
URL: CVE-2016-1000027
### CVSS 3 Score Details (9.8)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: High - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-4wrc-f8pq-fpqp
Release Date: 2020-01-02
Fix Resolution: 6.0.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2024-22243 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jarSpring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Dependency Hierarchy: - :x: **spring-web-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### 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-01-08
Fix Resolution: org.springframework:spring-web:5.3.32,6.0.17,6.1.4
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2021-22118 (Unreachable)
### Vulnerable Library - spring-web-5.3.6.jarSpring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Dependency Hierarchy: - :x: **spring-web-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsIn Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.
Publish Date: 2021-05-27
URL: CVE-2021-22118
### CVSS 3 Score Details (7.8)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2021-22118
Release Date: 2021-05-27
Fix Resolution: 5.3.7
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2022-22970 (Unreachable)
### Vulnerable Libraries - spring-beans-5.3.6.jar, spring-core-5.3.6.jar### spring-beans-5.3.6.jar
Spring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.3.6/spring-beans-5.3.6.jar
Dependency Hierarchy: - spring-web-5.3.6.jar (Root Library) - :x: **spring-beans-5.3.6.jar** (Vulnerable Library) ### spring-core-5.3.6.jar
Spring Core
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.3.6/spring-core-5.3.6.jar
Dependency Hierarchy: - spring-web-5.3.6.jar (Root Library) - spring-beans-5.3.6.jar - :x: **spring-core-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsIn spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.
Publish Date: 2022-05-12
URL: CVE-2022-22970
### CVSS 3 Score Details (5.3)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2022-22970
Release Date: 2022-05-12
Fix Resolution (org.springframework:spring-beans): 5.3.20
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.20
Fix Resolution (org.springframework:spring-core): 5.3.20
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.20
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2021-22096 (Unreachable)
### Vulnerable Libraries - spring-web-5.3.6.jar, spring-core-5.3.6.jar### spring-web-5.3.6.jar
Spring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Dependency Hierarchy: - :x: **spring-web-5.3.6.jar** (Vulnerable Library) ### spring-core-5.3.6.jar
Spring Core
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.3.6/spring-core-5.3.6.jar
Dependency Hierarchy: - spring-web-5.3.6.jar (Root Library) - spring-beans-5.3.6.jar - :x: **spring-core-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsIn Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.
Publish Date: 2021-10-28
URL: CVE-2021-22096
### CVSS 3 Score Details (4.3)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2021-22096
Release Date: 2021-10-28
Fix Resolution (org.springframework:spring-core): 5.3.12
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.12
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.CVE-2021-22060 (Unreachable)
### Vulnerable Libraries - spring-core-5.3.6.jar, spring-web-5.3.6.jar### spring-core-5.3.6.jar
Spring Core
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-core/5.3.6/spring-core-5.3.6.jar
Dependency Hierarchy: - spring-web-5.3.6.jar (Root Library) - spring-beans-5.3.6.jar - :x: **spring-core-5.3.6.jar** (Vulnerable Library) ### spring-web-5.3.6.jar
Spring Web
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.3.6/spring-web-5.3.6.jar
Dependency Hierarchy: - :x: **spring-web-5.3.6.jar** (Vulnerable Library)
Found in HEAD commit: accb89303d00907c5e49ca18ecc4afb16f63af29
Found in base branch: main
### Reachability AnalysisThe vulnerable code is unreachable
### Vulnerability DetailsIn Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.
Publish Date: 2022-01-10
URL: CVE-2021-22060
### CVSS 3 Score Details (4.3)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://spring.io/security/cve-2021-22060
Release Date: 2022-01-10
Fix Resolution (org.springframework:spring-core): 5.3.14
Direct dependency fix Resolution (org.springframework:spring-web): 5.3.14
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.