Skip to content

spring-context-3.1.1.RELEASE.jar: 7 vulnerabilities (highest severity is: 10.0) reachable #32

@dev-mend-for-github-com

Description

@dev-mend-for-github-com
Vulnerable Library - spring-context-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-bd-dao/pom.xml

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

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-context version) Remediation Possible** Reachability
CVE-2022-22965 Critical 10.0 spring-beans-3.1.1.RELEASE.jar Transitive 5.2.20.RELEASE

Reachable

CVE-2023-20863 Medium 6.5 spring-expression-3.1.1.RELEASE.jar Transitive 5.2.24.RELEASE

Reachable

CVE-2023-20861 Medium 6.5 spring-expression-3.1.1.RELEASE.jar Transitive 5.2.23.RELEASE

Reachable

CVE-2022-22950 Medium 6.5 spring-expression-3.1.1.RELEASE.jar Transitive 5.2.20.RELEASE

Reachable

WS-2021-0174 Medium 5.3 spring-beans-3.1.1.RELEASE.jar Transitive 4.0.2.RELEASE

Reachable

CVE-2022-22968 Medium 5.3 spring-context-3.1.1.RELEASE.jar Direct 5.2.21.RELEASE

Reachable

WS-2016-7112 Medium 4.9 spring-context-3.1.1.RELEASE.jar Direct 3.2.18.RELEASE

Reachable

**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-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-web-root/ksa-bd-web/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Root Library)
    • spring-beans-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.beans.factory.config.ConfigurableListableBeanFactory (Extension)
    -> org.springframework.beans.support.ResourceEditorRegistrar (Extension)
     -> ❌ org.springframework.beans.propertyeditors.InputStreamEditor (Vulnerable Component)

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 (10.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • 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:spring-context): 5.2.20.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20863

Vulnerable Library - spring-expression-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-finance-dao/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Root Library)
    • spring-expression-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.context.support.AbstractXmlApplicationContext (Extension)
    -> org.springframework.context.support.AbstractRefreshableApplicationContext (Extension)
    ...
      -> org.springframework.context.expression.StandardBeanExpressionResolver (Extension)
       -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension)
        -> ❌ org.springframework.expression.spel.standard.InternalSpelExpressionParser (Vulnerable Component)

Vulnerability Details

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-04-13

URL: CVE-2023-20863

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • 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://spring.io/security/cve-2023-20863

Release Date: 2023-04-13

Fix Resolution (org.springframework:spring-expression): 5.2.24.RELEASE

Direct dependency fix Resolution (org.springframework:spring-context): 5.2.24.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20861

Vulnerable Library - spring-expression-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-finance-dao/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Root Library)
    • spring-expression-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.context.support.AbstractXmlApplicationContext (Extension)
    -> org.springframework.context.support.AbstractRefreshableApplicationContext (Extension)
    ...
      -> org.springframework.context.expression.StandardBeanExpressionResolver (Extension)
       -> org.springframework.expression.spel.support.StandardTypeLocator (Extension)
        -> ❌ org.springframework.expression.spel.SpelMessage (Vulnerable Component)

Vulnerability Details

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-03-23

URL: CVE-2023-20861

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • 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://spring.io/security/cve-2023-20861

Release Date: 2023-03-23

Fix Resolution (org.springframework:spring-expression): 5.2.23.RELEASE

Direct dependency fix Resolution (org.springframework:spring-context): 5.2.23.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22950

Vulnerable Library - spring-expression-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-finance-dao/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Root Library)
    • spring-expression-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.context.support.AbstractXmlApplicationContext (Extension)
    -> org.springframework.context.support.AbstractApplicationContext (Extension)
    ...
      -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension)
       -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension)
        -> ❌ org.springframework.expression.spel.ast.ConstructorReference (Vulnerable Component)

Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-01

URL: CVE-2022-22950

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • 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-22950

Release Date: 2022-04-01

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework:spring-context): 5.2.20.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

WS-2021-0174

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

Spring Framework Parent

Path to dependency file: /ksa-web-root/ksa-bd-web/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Root Library)
    • spring-beans-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.ApplicationContext (Extension)
   -> org.springframework.beans.factory.config.AutowireCapableBeanFactory (Extension)
    -> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$AutowireByTypeDependencyDescriptor (Extension)
    ...
      -> org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy (Extension)
       -> org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy$CglibSubclassCreator (Extension)
        -> ❌ org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy$CglibSubclassCreator$ReplaceOverrideMethodInterceptor (Vulnerable Component)

Vulnerability Details

In spring-framework, versions 4.0.0 to 4.0.1 and 3.0.0 to 3.2.18, are vulnerable against CGLIB memory leak for method injection as a result of mishandled callbacks and non-static classes.

Publish Date: 2021-06-29

URL: WS-2021-0174

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2021-06-29

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

Direct dependency fix Resolution (org.springframework:spring-context): 4.0.2.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22968

Vulnerable Library - spring-context-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-bd-dao/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> ❌ org.springframework.context.event.ApplicationEventMulticaster (Vulnerable Component)

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2022-04-14

Fix Resolution: 5.2.21.RELEASE

⛑️ Automatic Remediation will be attempted for this issue.

WS-2016-7112

Vulnerable Library - spring-context-3.1.1.RELEASE.jar

Spring Framework Parent

Path to dependency file: /ksa-dao-root/ksa-bd-dao/pom.xml

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

Dependency Hierarchy:

  • spring-context-3.1.1.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: f3f88b40d6fb433c739a83504cd0dfad346a4cf2

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

com.ksa.dao.MybatisDaoTest (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.context.support.AbstractXmlApplicationContext (Extension)
    -> org.springframework.context.support.AbstractRefreshableApplicationContext (Extension)
    ...
      -> org.springframework.scheduling.config.ScheduledTaskRegistrar (Extension)
       -> org.springframework.scheduling.support.CronTrigger (Extension)
        -> ❌ org.springframework.scheduling.support.CronSequenceGenerator (Vulnerable Component)

Vulnerability Details

In Spring Framework, versions 3.0.0.RELEASE through 3.2.17.RELEASE, 4.0.0.RELEASE through 4.2.7.RELEASE and 4.3.0.RELEASE through 4.3.1.RELEASE are vulnerable to Stack-based Buffer Overflow, which allows an authenticated attacker to crash the application when giving CronSequenceGenerator a reversed range in the “minutes” or “hours” fields.

Publish Date: 2021-09-23

URL: WS-2016-7112

CVSS 3 Score Details (4.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: High
    • 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

Release Date: 2016-07-14

Fix Resolution: 3.2.18.RELEASE

⛑️ 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