Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-22965 (High) detected in spring-beans-5.2.19.RELEASE.jar - autoclosed #525

Closed
1 task
mend-for-github-com bot opened this issue Mar 31, 2022 · 1 comment
Closed
1 task
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

CVE-2022-22965 - High Severity Vulnerability

Vulnerable Library - spring-beans-5.2.19.RELEASE.jar

Spring Beans

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

Path to dependency file: /integ-test/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/er/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/er/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/er/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/er/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.2.19.RELEASE/3cfd1e0bb13a1947305eae9bf03c19e528e11a8b/spring-beans-5.2.19.RELEASE.jar

Dependency Hierarchy:

  • spring-beans-5.2.19.RELEASE.jar (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Spring Framework before 5.2.20 and 5.3.x before 5.3.18 are vulnerable due to a vulnerability in Spring-beans which allows attackers under certain circumstances to achieve remote code execution, this vulnerability is also known as ״Spring4Shell״ or ״SpringShell״. The current POC related to the attack is done by creating a specially crafted request which manipulates ClassLoader to successfully achieve RCE (Remote Code Execution). Please note that the ease of exploitation may diverge by the code implementation.Currently, the exploit requires JDK 9 or higher, Apache Tomcat as the Servlet container, the application Packaged as WAR, and dependency on spring-webmvc or spring-webflux. Spring Framework 5.3.18 and 5.2.20 have already been released. WhiteSource's research team is carefully observing developments and researching the case. We will keep updating this page and our WhiteSource resources with updates.

Publish Date: 2022-01-11

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-01-11

Fix Resolution: org.springframework:spring-beans:5.2.20.RELEASE,5.3.18


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 31, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-22965 (High) detected in spring-beans-5.2.19.RELEASE.jar CVE-2022-22965 (High) detected in spring-beans-5.2.19.RELEASE.jar - autoclosed Apr 5, 2022
@mend-for-github-com
Copy link
Contributor Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants