Home / Apache Software Foundation / Apache Groovy / CVE-2020-17521
CVE-2020-17521: is it exploited, and which versions of Apache Software Foundation Apache Groovy are affected and fixed?
CVE-2020-17521 is a creation of Temporary File in Directory with Insecure Permissions vulnerability in Apache Software Foundation Apache Groovy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: org.codehaus.groovy:groovy from 2.0.0 before 2.4.21, org.codehaus.groovy:groovy from 2.5.0 before 2.5.14, org.codehaus.groovy:groovy from 3.0.0 before 3.0.7 and 3 more (GitHub advisory GHSA-rcjj-h6gh-jf3r). Fixed in 2.4.21, 2.5.14 and 3.0.7 (GitHub advisory GHSA-rcjj-h6gh-jf3r). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:05 UTC.
What is CVE-2020-17521?
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.
From the CVE record by apache, last updated October 8, 2026, 21:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 |
As the CVE record by apache states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 17, 2024. Summary: Information Disclosure in Apache Groovy.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | groovy | from 2.0.0 through 2.4.20 | application |
| apache | groovy | from 2.5.0 through 2.5.13 | application |
| apache | groovy | from 3.0.0 through 3.0.6 | application |
| apache | groovy | 4.0.0 | application |
| netapp | snapcenter | all versions | application |
| oracle | agile engineering data management | 6.2.1.0 | application |
| oracle | agile plm mcad connector | 3.4 | application |
| oracle | agile plm mcad connector | 3.6 | application |
| oracle | agile product lifecycle management | 9.3.3 | application |
| oracle | agile product lifecycle management | 9.3.6 | application |
| oracle | business process management suite | 12.2.1.3.0 | application |
| oracle | business process management suite | 12.2.1.4.0 | application |
| oracle | communications brm - elastic charging engine | 11.3.0.9.0 | application |
| oracle | communications brm - elastic charging engine | 12.0.0.3 | application |
| oracle | communications diameter signaling router | 8.4.0.0 | application |
| oracle | communications evolved communications application server | 7.1 | application |
| oracle | communications services gatekeeper | 6.0 | application |
| oracle | communications services gatekeeper | 6.1 | application |
| oracle | communications services gatekeeper | 7.0 | application |
| oracle | healthcare data repository | 7.0.2 | application |
| oracle | hospitality opera 5 | 5.6 | application |
| oracle | ilearning | 6.2 | application |
| oracle | ilearning | 6.3 | application |
| oracle | insurance policy administration | from 11.0 through 11.3.1 | application |
| oracle | jd edwards enterpriseone orchestrator | 9.2.6.0 | application |
NVD analysis (status Modified), last modified October 8, 2026, 22:16 UTC.
How severe is CVE-2020-17521?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-17521 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 1.03% probability of exploitation activity in the next 30 days, percentile 64.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
Where are the vendor advisories and references?
- https://groovy-lang.org/security.html#CVE-2020-17521 x_refsource_CONFIRM
- [groovy-notifications] 20201207 [jira] [Closed] (GROOVY-9824) CVE-2020-17521 Apache Groovy Information Disclosure mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20201218-0006/ x_refsource_CONFIRM
- [atlas-dev] 20210422 [jira] [Created] (ATLAS-4257) Atlas - Upgrade groovy to 2.4.21+, 2.5.14+, 3.0.7+, or 4.0.0-alpha-2+ due to CVE-2020-17521 mailing-list, x_refsource_MLIST
- [atlas-dev] 20210422 [jira] [Updated] (ATLAS-4257) Atlas - Upgrade groovy to 2.4.21+, 2.5.14+, 3.0.7+, or 4.0.0-alpha-2+ due to CVE-2020-17521 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 12, 2020
- Published
- December 7, 2020, 19:22 UTC
- CVE record updated
- October 8, 2026, 21:13 UTC by apache
- NVD
- Modified, last modified October 8, 2026, 22:16 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:05 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-17521
Is CVE-2020-17521 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.03% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Groovy are affected by CVE-2020-17521?
org.codehaus.groovy:groovy from 2.0.0 before 2.4.21, org.codehaus.groovy:groovy from 2.5.0 before 2.5.14, org.codehaus.groovy:groovy from 3.0.0 before 3.0.7, org.codehaus.groovy:groovy-all from 2.0.0 before 2.4.21, org.codehaus.groovy:groovy-all from 2.5.0 before 2.5.14 and org.codehaus.groovy:groovy-all from 3.0.0 before 3.0.7, per the GitHub advisory GHSA-rcjj-h6gh-jf3r. The tables above give every range the sources list.
Which version fixes CVE-2020-17521?
2.4.21, 2.5.14 and 3.0.7, per the GitHub advisory GHSA-rcjj-h6gh-jf3r. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-17521?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-17521?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.