AlexRogalskiy / object-mappers-playground

Object mappers playground
GNU General Public License v3.0
3 stars 3 forks source link

CVE-2020-17521 (Medium) detected in groovy-2.5.9.jar, groovy-all-2.4.4.jar #162

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2020-17521 - Medium Severity Vulnerability

Vulnerable Libraries - groovy-2.5.9.jar, groovy-all-2.4.4.jar

groovy-2.5.9.jar

Groovy: A powerful, dynamic language for the JVM

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

Path to dependency file: /modules/objectmappers-nomin/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.5.9/groovy-2.5.9.jar

Dependency Hierarchy: - nomin-1.2.jar (Root Library) - :x: **groovy-2.5.9.jar** (Vulnerable Library)

groovy-all-2.4.4.jar

Groovy: A powerful, dynamic language for the JVM

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

Path to dependency file: /modules/objectmappers-smooks/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy-all/2.4.4/groovy-all-2.4.4.jar

Dependency Hierarchy: - milyn-smooks-all-1.7.1.jar (Root Library) - milyn-smooks-scripting-1.7.1.jar - :x: **groovy-all-2.4.4.jar** (Vulnerable Library)

Found in HEAD commit: ccc3fe199db8575ce11d67be41855d33c5e718ab

Found in base branch: master

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

Direct dependency fix Resolution (net.sf.nomin:nomin): 1.2.2


Step up your Open Source Security Game with Mend here

github-actions[bot] commented 3 years ago

Thank you for opening an issue. If this issue is related to a bug, please follow the steps and provide the information outlined in the Troubleshooting Guide. Failure to follow these instructions may result in automatic closing of this issue.