GitHub Advisoryadvisory · Maven

GHSA-rcjj-h6gh-jf3r Information Disclosure in Apache Groovy

MEDIUM Published 2020-12-09 Modified 2024-10-17 Official page ↗
Aliases
CVE-2020-17521
Ecosystem
Maven
Packages
org.codehaus.groovy:groovy, org.codehaus.groovy:groovy-all
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-379
Reviewed
2020-12-09

Affected packages

• Maven org.codehaus.groovy:groovy: >= 2.0.0, < 2.4.21 → fixed in 2.4.21 • Maven org.codehaus.groovy:groovy: >= 2.5.0, < 2.5.14 → fixed in 2.5.14 • Maven org.codehaus.groovy:groovy: >= 3.0.0, < 3.0.7 → fixed in 3.0.7 • Maven org.codehaus.groovy:groovy-all: >= 2.0.0, < 2.4.21 → fixed in 2.4.21 • Maven org.codehaus.groovy:groovy-all: >= 2.5.0, < 2.5.14 → fixed in 2.5.14 • Maven org.codehaus.groovy:groovy-all: >= 3.0.0, < 3.0.7 → fixed in 3.0.7

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-17521 Apache Groovy provides extension methods to aid with creating temporary directories. vulnerability

Weakness · CWE (1)

  • CWE-379 Creation of Temporary File in Directory with Insecure Permissions weakness

References