CVE-2022-22965 - Critical Severity Vulnerability
Vulnerable Libraries - spring-boot-starter-web-2.2.7.RELEASE.jar, spring-beans-5.1.5.RELEASE.jar, spring-beans-5.2.6.RELEASE.jar, spring-webmvc-5.2.6.RELEASE.jar
spring-boot-starter-web-2.2.7.RELEASE.jar
Starter for building web, including RESTful, applications using Spring
MVC. Uses Tomcat as the default embedded container
Library home page: https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-web
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.2.7.RELEASE/spring-boot-starter-web-2.2.7.RELEASE.jar,/dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/14/b1e62325e1f1494a4d4b7ef050ae84c222fe945825b7e2f261fad57e74a72f/spring-boot-starter-web-2.2.7.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-boot-starter-web-2.2.7.RELEASE.jar (Vulnerable Library)
spring-beans-5.1.5.RELEASE.jar
Spring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.springframework/spring-beans/jars/spring-beans-5.1.5.RELEASE.jar
Dependency Hierarchy:
- play-java-forms_2.13-2.7.5.jar (Root Library)
- ❌ spring-beans-5.1.5.RELEASE.jar (Vulnerable Library)
spring-beans-5.2.6.RELEASE.jar
Spring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.2.6.RELEASE/spring-beans-5.2.6.RELEASE.jar,/dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/68/cb7b0436f58d8f228005645795ebee3df67ec252dbf675d7ebf18edde2c09c/spring-beans-5.2.6.RELEASE.jar,/home/wss-scanner/.ivy2/cache/org.springframework/spring-beans/jars/spring-beans-5.2.6.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-beans-5.2.6.RELEASE.jar (Vulnerable Library)
spring-webmvc-5.2.6.RELEASE.jar
Spring Web MVC
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/bf/cf0312998a4fb1f69d6a044dfd13e49d72b233caf0347c7df76db6f3223369/spring-webmvc-5.2.6.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/5.2.6.RELEASE/spring-webmvc-5.2.6.RELEASE.jar
Dependency Hierarchy:
- ❌ spring-webmvc-5.2.6.RELEASE.jar (Vulnerable Library)
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
Vulnerability Details
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: The description of this vulnerability differs from MITRE.
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 Fix
Type: 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.2.20.RELEASE,5.3.18
CVE-2022-22965 - Critical Severity Vulnerability
spring-boot-starter-web-2.2.7.RELEASE.jar
Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container
Library home page: https://projects.spring.io/spring-boot/#/spring-boot-parent/spring-boot-starters/spring-boot-starter-web
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.2.7.RELEASE/spring-boot-starter-web-2.2.7.RELEASE.jar,/dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/14/b1e62325e1f1494a4d4b7ef050ae84c222fe945825b7e2f261fad57e74a72f/spring-boot-starter-web-2.2.7.RELEASE.jar
Dependency Hierarchy:
spring-beans-5.1.5.RELEASE.jar
Spring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to vulnerable library: /home/wss-scanner/.ivy2/cache/org.springframework/spring-beans/jars/spring-beans-5.1.5.RELEASE.jar
Dependency Hierarchy:
spring-beans-5.2.6.RELEASE.jar
Spring Beans
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/5.2.6.RELEASE/spring-beans-5.2.6.RELEASE.jar,/dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/68/cb7b0436f58d8f228005645795ebee3df67ec252dbf675d7ebf18edde2c09c/spring-beans-5.2.6.RELEASE.jar,/home/wss-scanner/.ivy2/cache/org.springframework/spring-beans/jars/spring-beans-5.2.6.RELEASE.jar
Dependency Hierarchy:
spring-webmvc-5.2.6.RELEASE.jar
Spring Web MVC
Library home page: https://github.com/spring-projects/spring-framework
Path to dependency file: /dd-smoke-tests/springboot-openliberty/application/pom.xml
Path to vulnerable library: /dd-smoke-tests/springboot-openliberty/application/target/liberty/wlp/usr/shared/resources/lib.index.cache/bf/cf0312998a4fb1f69d6a044dfd13e49d72b233caf0347c7df76db6f3223369/spring-webmvc-5.2.6.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/5.2.6.RELEASE/spring-webmvc-5.2.6.RELEASE.jar
Dependency Hierarchy:
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
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: The description of this vulnerability differs from MITRE.
Publish Date: 2022-04-01
URL: CVE-2022-22965
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.Type: 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.2.20.RELEASE,5.3.18