Skip to content

CVE-2020-17521 (Medium) detected in multiple libraries #103

Open
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2020-17521 - Medium Severity Vulnerability

Vulnerable Libraries - groovy-2.4.6.jar, groovy-2.4.11.jar, groovy-2.4.11-indy.jar

groovy-2.4.6.jar

Groovy: A powerful, dynamic language for the JVM

Library home page: http://groovy-lang.org

Dependency Hierarchy:

  • fuse-core-0.51-SNAPSHOT.jar (Root Library)
    • rest-assured-3.0.1.jar
      • groovy-2.4.6.jar (Vulnerable Library)
groovy-2.4.11.jar

Groovy: A powerful, dynamic language for the JVM

Library home page: http://groovy-lang.org

Path to dependency file: yang-db/unipop-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11.jar,/unipop-core/target/lib/groovy-2.4.11.jar

Dependency Hierarchy:

  • groovy-2.4.11.jar (Vulnerable Library)
groovy-2.4.11-indy.jar

Library home page: http://archive.apache.org/dist/tinkerpop/3.1.8/apache-tinkerpop-gremlin-console-3.1.8-bin.zip

Path to dependency file: yang-db/fuse-service/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/unipop-core/target/lib/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar,/home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.11/groovy-2.4.11-indy.jar

Dependency Hierarchy:

  • gremlin-groovy-3.2.5.jar (Root Library)
    • groovy-2.4.11-indy.jar (Vulnerable Library)

Found in HEAD commit: 2e972e558af84884d4f709a1e2336343cfc93337

Vulnerability Details

Apache Groovy provides extension methods to aid with creating temporary directories. Prior to this fix, Groovy's implementation of those extension methods was using a now superseded Java JDK method call that is potentially not secure on some operating systems in some contexts. Users not using the extension methods mentioned in the advisory are not affected, but may wish to read the advisory for further details. Versions Affected: 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, and 4.0.0-alpha-1. Fixed in versions 2.4.21, 2.5.14, 3.0.7, 4.0.0-alpha-2.

Publish Date: 2020-12-07

URL: CVE-2020-17521

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://issues.apache.org/jira/browse/GROOVY-9824

Release Date: 2020-12-07

Fix Resolution: org.codehaus.groovy:groovy-all:2.4.21,2.5.14,3.0.7


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions