Skip to content

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

@mend-for-github-com

Description

@mend-for-github-com
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

Vulnerability 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-2025-41242 Medium 5.9 spring-beans-4.3.12.RELEASE.jar Transitive N/A*
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

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**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. 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-2025-41242

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

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant Servlet container.
An application can be vulnerable when all the following are true:

Publish Date: 2025-08-18

URL: CVE-2025-41242

CVSS 3 Score Details (5.9)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2025-41242

Release Date: 2025-08-18

Fix Resolution: org.springframework:spring-beans:6.2.10

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions