CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
1.03% in 30 days
higher than 65% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Groovy2.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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.codehaus.groovy:groovy>= 2.0.0, < 2.4.212.4.21GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy>= 2.5.0, < 2.5.142.5.14GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy>= 3.0.0, < 3.0.73.0.7GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all>= 2.0.0, < 2.4.212.4.21GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all>= 2.5.0, < 2.5.142.5.14GHSA-rcjj-h6gh-jf3r
Mavenorg.codehaus.groovy:groovy-all>= 3.0.0, < 3.0.73.0.7GHSA-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?

VendorProductVersionsType
apachegroovyfrom 2.0.0 through 2.4.20application
apachegroovyfrom 2.5.0 through 2.5.13application
apachegroovyfrom 3.0.0 through 3.0.6application
apachegroovy4.0.0application
netappsnapcenterall versionsapplication
oracleagile engineering data management6.2.1.0application
oracleagile plm mcad connector3.4application
oracleagile plm mcad connector3.6application
oracleagile product lifecycle management9.3.3application
oracleagile product lifecycle management9.3.6application
oraclebusiness process management suite12.2.1.3.0application
oraclebusiness process management suite12.2.1.4.0application
oraclecommunications brm - elastic charging engine11.3.0.9.0application
oraclecommunications brm - elastic charging engine12.0.0.3application
oraclecommunications diameter signaling router8.4.0.0application
oraclecommunications evolved communications application server7.1application
oraclecommunications services gatekeeper6.0application
oraclecommunications services gatekeeper6.1application
oraclecommunications services gatekeeper7.0application
oraclehealthcare data repository7.0.2application
oraclehospitality opera 55.6application
oracleilearning6.2application
oracleilearning6.3application
oracleinsurance policy administrationfrom 11.0 through 11.3.1application
oraclejd edwards enterpriseone orchestrator9.2.6.0application

NVD analysis (status Modified), last modified October 8, 2026, 22:16 UTC.

How severe is CVE-2020-17521?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
Low 2.1CVSS 2.0AV:L/AC:L/Au:N/C:P/I:N/A:NNVD

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?

Where are the vendor advisories and references?

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.