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
- github.com/apache/groovy@bcbe5c4 commit
- github.com/apache/groovy#1425 pull request
- oracle.com/security-alerts/cpujan2021.html advisory
- oracle.com/security-alerts/cpuApr2021.html advisory
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpuoct2021.html advisory
- oracle.com/security-alerts/cpujan2022.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
- oracle.com/security-alerts/cpujul2022.html advisory
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-javadocaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Integration Camel Quarkus 1 groovyaffected: workaround, no fix available
-
Red Hat JBoss A-MQ 6 groovyaffected: workaround, no fix planned “Out of support scope”
-
Red Hat JBoss Fuse 6 groovyaffected: 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-hiveaffected: workaround, no fix available “Fix deferred”
-
Red Hat Fuse 7.10fixed: vendor fix RHSA-2021:5134
-
Red Hat Integrationfixed: vendor fix RHSA-2021:3205
-
Red Hat Integration Camel Quarkus 2fixed: vendor fix RHSA-2021:3207
show 1 moreshow fewer
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-logging-elasticsearch5 Red Hat OpenShift Container Platform 4 jenkins-2-plugins, openshift4/ose-logging-elasticsearch5not 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
-
oracle.com
/security-alerts/cpujan2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory
-
oracle.com
//security-alerts/cpujul2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
github.com
/apache/groovy/pull/1425
web
-
github.com
/apache/groovy/commit/bcbe5c4c76db83736166530647c024ac1e47ef28
web
-
groovy-lang.org
/security.html#CVE-2020-17521
web, third-party-advisory
-
lists.apache.org
/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465%40%3Cnotifications.groovy.apache.org%3E
mailing-list
-
security.netapp.com
/advisory/ntap-20201218-0006/
third-party-advisory
-
lists.apache.org
/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08%40%3Cdev.atlas.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2020-17521
advisory
-
github.com
/apache/groovy
package
-
lists.apache.org
/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08@%3Cdev.atlas.apache.org%3E
web
-
lists.apache.org
/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465@%3Cnotifications.groovy.apache.org%3E
web
-
lists.apache.org
/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3@%3Cdev.atlas.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20201218-0006
web
Sources
- CVE List CVE-2020-17521
- GitHub Advisory GHSA-rcjj-h6gh-jf3r
- NVD CVE-2020-17521
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.