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

spring-shell-starter-2.0.1.RELEASE.jar: 3 vulnerabilities (highest severity is: 9.8) #1

Open
mend-for-github-com bot opened this issue Jul 5, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jul 5, 2022

Vulnerable Library - spring-shell-starter-2.0.1.RELEASE.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jline/jline/3.4.0/jline-3.4.0.jar

Found in HEAD commit: da4219c4ae5bf5d920c44142b093658366d3319f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-shell-starter version) Remediation Possible**
CVE-2022-22965 Critical 9.8 spring-beans-4.3.12.RELEASE.jar Transitive 2.1.0
CVE-2023-50572 Medium 5.5 jline-3.4.0.jar Transitive 3.1.8
CVE-2022-22970 Medium 5.3 spring-beans-4.3.12.RELEASE.jar Transitive 2.1.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-22965

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

Spring Beans

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE.jar

Dependency Hierarchy:

  • spring-shell-starter-2.0.1.RELEASE.jar (Root Library)
    • spring-shell-table-2.0.1.RELEASE.jar
      • spring-beans-4.3.12.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: da4219c4ae5bf5d920c44142b093658366d3319f

Found in base branch: main

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: 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 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

Direct dependency fix Resolution (org.springframework.shell:spring-shell-starter): 2.1.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-50572

Vulnerable Library - jline-3.4.0.jar

JLine

Library home page: http://nexus.sonatype.org/oss-repository-hosting.html/jline-parent/jline

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/jline/jline/3.4.0/jline-3.4.0.jar

Dependency Hierarchy:

  • spring-shell-starter-2.0.1.RELEASE.jar (Root Library)
    • spring-shell-core-2.0.1.RELEASE.jar
      • jline-3.4.0.jar (Vulnerable Library)

Found in HEAD commit: da4219c4ae5bf5d920c44142b093658366d3319f

Found in base branch: main

Vulnerability Details

An issue in the component GroovyEngine.execute of jline-groovy v3.24.1 allows attackers to cause an OOM (OutofMemory) error.

Publish Date: 2023-12-29

URL: CVE-2023-50572

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-12-29

Fix Resolution (org.jline:jline): 3.25.0

Direct dependency fix Resolution (org.springframework.shell:spring-shell-starter): 3.1.8

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22970

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

Spring Beans

Library home page: http://projects.spring.io/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-beans/4.3.12.RELEASE/spring-beans-4.3.12.RELEASE.jar

Dependency Hierarchy:

  • spring-shell-starter-2.0.1.RELEASE.jar (Root Library)
    • spring-shell-table-2.0.1.RELEASE.jar
      • spring-beans-4.3.12.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: da4219c4ae5bf5d920c44142b093658366d3319f

Found in base branch: main

Vulnerability Details

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.

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 Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22970

Release Date: 2022-05-12

Fix Resolution (org.springframework:spring-beans): 5.2.22.RELEASE

Direct dependency fix Resolution (org.springframework.shell:spring-shell-starter): 2.1.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jul 5, 2022
@mend-for-github-com mend-for-github-com bot changed the title spring-shell-starter-2.0.1.RELEASE.jar: 2 vulnerabilities (highest severity is: 9.8) spring-shell-starter-2.0.1.RELEASE.jar: 3 vulnerabilities (highest severity is: 9.8) Jan 1, 2024
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants