Vulnerability · Published Dec 7, 2020 · Assigned by apache

CVE-2020-17521

Medium 5.5

In plain English

A medium-severity security flaw in Apache Groovy from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)1.0%top 36.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12groovy2.4.21-1DEBIAN-CVE-2020-17521
Debian:13groovy2.4.21-1DEBIAN-CVE-2020-17521
Debian:14groovy2.4.21-1DEBIAN-CVE-2020-17521
Mavenorg.codehaus.groovy:groovy2.4.21GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy2.5.14GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy3.0.7GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all3.0.7GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all2.5.14GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all2.4.21GHSA-rcjj-h6gh-jf3r
Ubuntu:22.04:LTSgroovyno fix listedUBUNTU-CVE-2020-17521
Ubuntu:24.04:LTSgroovyno fix listedUBUNTU-CVE-2020-17521
Ubuntu:25.10groovyno fix listedUBUNTU-CVE-2020-17521
Ubuntu:26.04:LTSgroovyno fix listedUBUNTU-CVE-2020-17521
Ubuntu:26.10groovyno fix listedUBUNTU-CVE-2020-17521

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Groovy 2.0 to 2.4.202.5.0 to 2.5.133.0.0 to 3.0.64.0.0-alpha-1

References