CVEfocus › CVE database › CVE-2020-17521

CVE-2020-17521

CVSS 5.5 MediumEPSS 1.0% (higher than 63% of CVEs)Published 2020-12-07Updated 2026-10-08Assigner: apache

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
3Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10groovyFix pendingUBUNTU-CVE-2020-17521
Ubuntu 26.04groovyUnder investigationUBUNTU-CVE-2020-17521
Ubuntu 25.10groovyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-17521
Ubuntu 24.04groovyUnder investigationUBUNTU-CVE-2020-17521
Ubuntu 22.04groovyUnder investigationUBUNTU-CVE-2020-17521
Ubuntu 20.04groovyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-17521
Ubuntu 18.04groovyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-17521
Ubuntu 16.04groovyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-17521
Ubuntu 16.04groovy2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-17521
Ubuntu 14.04groovyWill not fix
Ubuntu decided not to fix this in this release
Debian 14groovyFixed2.4.21-1DEBIAN-CVE-2020-17521
Debian 13groovyFixed2.4.21-1DEBIAN-CVE-2020-17521
Debian 12groovyFixed2.4.21-1DEBIAN-CVE-2020-17521
Red Hat Enterprise Linux 7groovyWill not fix
Out of support scope
Red Hat Enterprise Linux 7groovy-javadocWill not fix
Out of support scope
Maven libraryorg.codehaus.groovy:groovyFixed3.0.7GHSA-rcjj-h6gh-jf3r
Maven libraryorg.codehaus.groovy:groovy-allFixed2.5.14GHSA-rcjj-h6gh-jf3r

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.