Skip to content
OpenAdvisories
Medium · 5.5 CVE-2020-17521 EUVD-2020-1505GHSA-rcjj-h6gh-jf3r

Information Disclosure in Apache Groovy

Published Dec 7, 2020 · Updated Oct 8, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Groovy 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, 4.0.0-alpha-1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 groovy 2.4.21-1 —
Debian 13 groovy 2.4.21-1 —
Debian 12 groovy 2.4.21-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 groovy No fix yet —
Ubuntu 26.04 LTS groovy No fix yet —
Ubuntu 25.10 groovy No fix yet —
Ubuntu 24.04 LTS groovy No fix yet —
Ubuntu 22.04 LTS groovy No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS groovy No fix yet —
Ubuntu 18.04 LTS groovy No fix yet —
Ubuntu 16.04 LTS groovy No fix yet —
Ubuntu Pro 16.04 LTS groovy2 No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP2 groovy 2.4.21-3.3.2 SUSE-SU-2020:3917-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed groovy 2.4.21-2.3 openSUSE-SU-2024:10823-1
openSUSE Leap 15.2 groovy 2.4.21-lp152.2.3.2 openSUSE-SU-2020:2367-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.codehaus.groovy:groovy >= 2.0.0, < 2.4.21 2.4.21 GHSA-rcjj-h6gh-jf3r
Maven org.codehaus.groovy:groovy >= 2.5.0, < 2.5.14 2.5.14 GHSA-rcjj-h6gh-jf3r
Maven org.codehaus.groovy:groovy >= 3.0.0, < 3.0.7 3.0.7 GHSA-rcjj-h6gh-jf3r
Maven org.codehaus.groovy:groovy-all >= 2.0.0, < 2.4.21 2.4.21 GHSA-rcjj-h6gh-jf3r
Maven org.codehaus.groovy:groovy-all >= 2.5.0, < 2.5.14 2.5.14 GHSA-rcjj-h6gh-jf3r
Maven org.codehaus.groovy:groovy-all >= 3.0.0, < 3.0.7 3.0.7 GHSA-rcjj-h6gh-jf3r

Advisories 11

References