Skip to content
Fencer Vulns
medium 5.5

CVE-2020-17521 json

Information Disclosure in Apache Groovy

published 2020-12-07 5 y ago modified 2026-10-08 31 d ago also GHSA-rcjj-h6gh-jf3r , EUVD-2020-1505

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.codehaus.groovy:groovy 2.4.21, 2.5.14, 3.0.7
  • maven org.codehaus.groovy:groovy-all 2.4.21, 2.5.14, 3.0.7
  • groovy Debian 14, Debian 13, Debian 12 2.4.21-1

debian advisories DEBIAN-CVE-2020-17521

  • groovy SLE Module for Development Tools 15 SP2 2.4.21-3.3.2

suse advisories SUSE-SU-2020:3917-1

  • groovy openSUSE Tumbleweed 2.4.21-2.3
  • groovy openSUSE Leap 15.2 2.4.21-lp152.2.3.2

opensuse advisories openSUSE-SU-2024:10823-1openSUSE-SU-2020:2367-1

  • groovy Arch Linux 2.5.14-1

arch linux advisories AVG-1325

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-17521 updated cvss 5.5

groovy: OS temporary directory leads to information disclosure

  • Red Hat Enterprise Linux 7 groovy, groovy-javadoc
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Integration Camel Quarkus 1 groovy
    affected: workaround, no fix available
  • Red Hat JBoss A-MQ 6 groovy
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat JBoss Fuse 6 groovy
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.11 jenkins Red Hat OpenShift Container Platform 4 jenkins, openshift4/ose-metering-hive
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Fuse 7.10
    fixed: vendor fix RHSA-2021:5134
  • Red Hat Integration
    fixed: vendor fix RHSA-2021:3205
  • Red Hat Integration Camel Quarkus 2
    fixed: vendor fix RHSA-2021:3207
show 1 more
  • Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 jenkins-2-plugins, openshift4/ose-logging-elasticsearch5
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
31 d ago

Exploit prediction

1.03% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.codehaus.groovy:groovy
>=2.0.0, <2.4.21
>=2.5.0, <2.5.14
>=3.0.0, <3.0.7
2.4.21
2.5.14
3.0.7
maven org.codehaus.groovy:groovy-all
>=2.0.0, <2.4.21
>=2.5.0, <2.5.14
>=3.0.0, <3.0.7
2.4.21
2.5.14
3.0.7

Affected products

  • Apache Software Foundation Apache Groovy

Classification

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

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.