Skip to content

WS-2021-0174 (Medium) detected in multiple libraries - autoclosed #265

@mend-for-github-com

Description

@mend-for-github-com

WS-2021-0174 - Medium Severity Vulnerability

Vulnerable Libraries - spring-beans-3.1.0.RELEASE.jar, spring-beans-3.0.5.RELEASE.jar, spring-beans-3.2.9.RELEASE.jar, spring-beans-3.2.8.RELEASE.jar

spring-beans-3.1.0.RELEASE.jar

Spring Framework Parent

Path to dependency file: /dd-java-agent/instrumentation/spring-webmvc-3.1/spring-webmvc-3.1.gradle

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

Dependency Hierarchy:

  • spring-jms-3.1.0.RELEASE.jar (Root Library)
    • spring-beans-3.1.0.RELEASE.jar (Vulnerable Library)
spring-beans-3.0.5.RELEASE.jar

Spring Framework Parent

Path to dependency file: /dd-java-agent/instrumentation/rabbitmq-amqp-2.7/rabbitmq-amqp-2.7.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/3.0.5.RELEASE/4b352a9c3b427294e264ca4d460d07417ca9350e/spring-beans-3.0.5.RELEASE.jar

Dependency Hierarchy:

  • spring-rabbit-1.1.0.RELEASE.jar (Root Library)
    • spring-tx-3.0.5.RELEASE.jar
      • spring-beans-3.0.5.RELEASE.jar (Vulnerable Library)
spring-beans-3.2.9.RELEASE.jar

Spring Beans

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

Path to dependency file: /dd-java-agent/instrumentation/spring-data-1.8/spring-data-1.8.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/3.2.9.RELEASE/31dcffd88a80b610ccd57ee9618301a1d883b53d/spring-beans-3.2.9.RELEASE.jar

Dependency Hierarchy:

  • spring-data-commons-1.8.0.RELEASE.jar (Root Library)
    • spring-beans-3.2.9.RELEASE.jar (Vulnerable Library)
spring-beans-3.2.8.RELEASE.jar

Spring Beans

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

Path to dependency file: /dd-java-agent/instrumentation/hibernate/core-4.3/core-4.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/3.2.8.RELEASE/7aa7d1192ad7acc4b5ced07d44a1cdc4e3a377b9/spring-beans-3.2.8.RELEASE.jar

Dependency Hierarchy:

  • spring-data-jpa-1.5.1.RELEASE.jar (Root Library)
    • spring-beans-3.2.8.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

Found in base branch: master

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-jms): 4.0.2.RELEASE

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

Direct dependency fix Resolution (org.springframework.amqp:spring-rabbit): 1.4.0.RELEASE

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

Direct dependency fix Resolution (org.springframework.data:spring-data-commons): 1.9.0.RELEASE

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

Direct dependency fix Resolution (org.springframework.data:spring-data-jpa): 1.7.0.RELEASE


⛑️ Automatic Remediation is available for this issue

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions