TreyM-WSS / Struts2-Examples

Struts2 Examples
0 stars 0 forks source link

CVE-2022-22965 (Critical) detected in spring-beans-3.0.5.RELEASE.jar, spring-beans-3.2.0.RELEASE.jar #245

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-22965 - Critical Severity Vulnerability

Vulnerable Libraries - spring-beans-3.0.5.RELEASE.jar, spring-beans-3.2.0.RELEASE.jar

spring-beans-3.0.5.RELEASE.jar

Spring Framework Parent

Path to dependency file: /Struts2Junit4/pom.xml

Path to vulnerable library: /Struts2Junit4/target/Struts2Junit4-1.0/WEB-INF/lib/spring-beans-3.0.5.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-beans/3.0.5.RELEASE/spring-beans-3.0.5.RELEASE.jar

Dependency Hierarchy: - :x: **spring-beans-3.0.5.RELEASE.jar** (Vulnerable Library)

spring-beans-3.2.0.RELEASE.jar

Spring Beans

Library home page: https://github.com/SpringSource/spring-framework

Path to dependency file: /Struts2Spring3Hibernate/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/3.2.0.RELEASE/spring-beans-3.2.0.RELEASE.jar,/Struts2Spring3Hibernate/target/Struts2Spring3Hibernate3/WEB-INF/lib/spring-beans-3.2.0.RELEASE.jar

Dependency Hierarchy: - :x: **spring-beans-3.2.0.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 4a2d705eb04097186f260a255e43e17302189741

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.

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: 5.2.20.RELEASE


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.