Apache Groovy provides extension methods to aid with creating temporary directories.
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 3 fixed, 6 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | 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 | — | No fix listed | CNA |
| — | org.codehaus.groovy:groovy (Maven) | 2.0.0 to before 2.4.21 | 2.4.21 | Patch available | GHSA-rcjj-h6gh-jf3r |
| — | org.codehaus.groovy:groovy (Maven) | 2.5.0 to before 2.5.14 | 2.5.14 | Patch available | GHSA-rcjj-h6gh-jf3r |
| — | org.codehaus.groovy:groovy (Maven) | 3.0.0 to before 3.0.7 | 3.0.7 | Patch available | GHSA-rcjj-h6gh-jf3r |
| — | org.codehaus.groovy:groovy-all (Maven) | 2.0.0 to before 2.4.21 | 2.4.21 | Patch available | GHSA-rcjj-h6gh-jf3r |
| — | org.codehaus.groovy:groovy-all (Maven) | 2.5.0 to before 2.5.14 | 2.5.14 | Patch available | GHSA-rcjj-h6gh-jf3r |
| — | org.codehaus.groovy:groovy-all (Maven) | 3.0.0 to before 3.0.7 | 3.0.7 | Patch available | GHSA-rcjj-h6gh-jf3r |
- Apache Groovy VendorApache Affected 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 — No fix listed CNA
- org.codehaus.groovy:groovy (Maven) Vendor— Affected 2.0.0 to before 2.4.21 Fixed in 2.4.21 Patch available GHSA-rcjj-h6gh-jf3r
- org.codehaus.groovy:groovy (Maven) Vendor— Affected 2.5.0 to before 2.5.14 Fixed in 2.5.14 Patch available GHSA-rcjj-h6gh-jf3r
- org.codehaus.groovy:groovy (Maven) Vendor— Affected 3.0.0 to before 3.0.7 Fixed in 3.0.7 Patch available GHSA-rcjj-h6gh-jf3r
- org.codehaus.groovy:groovy-all (Maven) Vendor— Affected 2.0.0 to before 2.4.21 Fixed in 2.4.21 Patch available GHSA-rcjj-h6gh-jf3r
- org.codehaus.groovy:groovy-all (Maven) Vendor— Affected 2.5.0 to before 2.5.14 Fixed in 2.5.14 Patch available GHSA-rcjj-h6gh-jf3r
- org.codehaus.groovy:groovy-all (Maven) Vendor— Affected 3.0.0 to before 3.0.7 Fixed in 3.0.7 Patch available GHSA-rcjj-h6gh-jf3r
CPE configurations NVD · 37
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:* | 2.0.0 – 2.4.20; 2.5.0 – 2.5.13; 3.0.0 – 3.0.6 | Vulnerable | Apache |
| cpe:2.3:a:apache:groovy:4.0.0:alpha1:*:*:*:*:*:* | 4.0.0 alpha1 | Vulnerable | Apache |
| cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:* | 6.2.1.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:agile_plm_mcad_connector:3.4:*:*:*:*:*:*:* | 3.4 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:agile_plm_mcad_connector:3.6:*:*:*:*:*:*:* | 3.6 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.3:*:*:*:*:*:*:* | 9.3.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:* | 9.3.6 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:business_process_management_suite:12.2.1.3.0:*:*:*:*:*:*:* | 12.2.1.3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:business_process_management_suite:12.2.1.4.0:*:*:*:*:*:*:* | 12.2.1.4.0 | Vulnerable | Oracle |
- cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:* Versions 2.0.0 – 2.4.20; 2.5.0 – 2.5.13; 3.0.0 – 3.0.6 Vulnerable ·Apache
- cpe:2.3:a:apache:groovy:4.0.0:alpha1:*:*:*:*:*:* Versions 4.0.0 alpha1 Vulnerable ·Apache
- cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:* Versions 6.2.1.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:agile_plm_mcad_connector:3.4:*:*:*:*:*:*:* Versions 3.4 Vulnerable ·Oracle
- cpe:2.3:a:oracle:agile_plm_mcad_connector:3.6:*:*:*:*:*:*:* Versions 3.6 Vulnerable ·Oracle
- cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.3:*:*:*:*:*:*:* Versions 9.3.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:* Versions 9.3.6 Vulnerable ·Oracle
- cpe:2.3:a:oracle:business_process_management_suite:12.2.1.3.0:*:*:*:*:*:*:* Versions 12.2.1.3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:business_process_management_suite:12.2.1.4.0:*:*:*:*:*:*:* Versions 12.2.1.4.0 Vulnerable ·Oracle
Show 27 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:11.3.0.9.0:*:*:*:*:*:*:* | 11.3.0.9.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:* | 12.0.0.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_diameter_signaling_router:8.4.0.0:*:*:*:*:*:*:* | 8.4.0.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_evolved_communications_application_server:7.1:*:*:*:*:*:*:* | 7.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_services_gatekeeper:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_services_gatekeeper:6.1:*:*:*:*:*:*:* | 6.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_services_gatekeeper:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:healthcare_data_repository:7.0.2:*:*:*:*:*:*:* | 7.0.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:hospitality_opera_5:5.6:*:*:*:*:*:*:* | 5.6 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:ilearning:6.2:*:*:*:*:*:*:* | 6.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:ilearning:6.3:*:*:*:*:*:*:* | 6.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:* | 11.0 – 11.3.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:jd_edwards_enterpriseone_orchestrator:9.2.6.0:*:*:*:*:*:*:* | 9.2.6.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:* | 17.12.0 – 17.12.10 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:* | 17.7 – 17.12 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:16.1:*:*:*:*:*:*:* | 16.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:16.2:*:*:*:*:*:*:* | 16.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:* | 18.8 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:* | 19.12 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:* | 20.12 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_bulk_data_integration:15.0.3.0:*:*:*:*:*:*:* | 15.0.3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_bulk_data_integration:16.0.3.0:*:*:*:*:*:*:* | 16.0.3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_merchandising_system:16.0.3:*:*:*:*:*:*:* | 16.0.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.10:*:*:*:*:*:*:* | 14.1.3.10 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.5:*:*:*:*:*:*:* | 15.0.3.5 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.5:*:*:*:*:*:*:* | 16.0.3.5 | Vulnerable | Oracle |
| cpe:2.3:a:apache:atlas:2.1.0:-:*:*:*:*:*:* | 2.1.0 | Vulnerable | Apache |
- cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:11.3.0.9.0:*:*:*:*:*:*:* Versions 11.3.0.9.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:* Versions 12.0.0.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_diameter_signaling_router:8.4.0.0:*:*:*:*:*:*:* Versions 8.4.0.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_evolved_communications_application_server:7.1:*:*:*:*:*:*:* Versions 7.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_services_gatekeeper:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_services_gatekeeper:6.1:*:*:*:*:*:*:* Versions 6.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_services_gatekeeper:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:healthcare_data_repository:7.0.2:*:*:*:*:*:*:* Versions 7.0.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:hospitality_opera_5:5.6:*:*:*:*:*:*:* Versions 5.6 Vulnerable ·Oracle
- cpe:2.3:a:oracle:ilearning:6.2:*:*:*:*:*:*:* Versions 6.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:ilearning:6.3:*:*:*:*:*:*:* Versions 6.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:* Versions 11.0 – 11.3.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:jd_edwards_enterpriseone_orchestrator:9.2.6.0:*:*:*:*:*:*:* Versions 9.2.6.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:* Versions 17.12.0 – 17.12.10 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:* Versions 17.7 – 17.12 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:16.1:*:*:*:*:*:*:* Versions 16.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:16.2:*:*:*:*:*:*:* Versions 16.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:* Versions 18.8 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:* Versions 19.12 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:* Versions 20.12 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_bulk_data_integration:15.0.3.0:*:*:*:*:*:*:* Versions 15.0.3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_bulk_data_integration:16.0.3.0:*:*:*:*:*:*:* Versions 16.0.3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_merchandising_system:16.0.3:*:*:*:*:*:*:* Versions 16.0.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.10:*:*:*:*:*:*:* Versions 14.1.3.10 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.5:*:*:*:*:*:*:* Versions 15.0.3.5 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.5:*:*:*:*:*:*:* Versions 16.0.3.5 Vulnerable ·Oracle
- cpe:2.3:a:apache:atlas:2.1.0:-:*:*:*:*:*:* Versions 2.1.0 Vulnerable ·Apache
Remediation
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy (Maven) Fixed in 2.4.21 Advisory →
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy (Maven) Fixed in 2.5.14 Advisory →
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy (Maven) Fixed in 3.0.7 Advisory →
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy-all (Maven) Fixed in 2.4.21 Advisory →
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy-all (Maven) Fixed in 2.5.14 Advisory →
- Fix · GHSA-rcjj-h6gh-jf3r org.codehaus.groovy:groovy-all (Maven) Fixed in 3.0.7 Advisory →
Red Hat 3 advisories
- RHSA-2021:5134 Released 2021-12-14 · Red Hat rating CriticalRed Hat Fuse 7.10.0 release and security update
- Red Hat Fuse 7.10
- RHSA-2021:3207 Released 2021-08-18 · Red Hat rating ModerateRed Hat Integration Camel Quarkus Tech-Preview 2 security update
- Red Hat Integration Camel Quarkus 2
- RHSA-2021:3205 Released 2021-08-18 · Red Hat rating ModerateRed Hat Integration Camel-K 1.4 release and security update
- Red Hat Integration
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Integration Camel Quarkus 1 | Affected | No fix yet |
| Red Hat JBoss A-MQ 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7.10 | Fixed | RHSA-2021:5134 |
| Red Hat Integration | Fixed | RHSA-2021:3205 |
| Red Hat Integration Camel Quarkus 2 | Fixed | RHSA-2021:3207 |
Not affected: 2 products
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2020-17521
- 2026-10-03 Alias added: GHSA-rcjj-h6gh-jf3r
- 2026-10-08 CISA SSVC decision points changed
References
Patch 7
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
Advisory 3
Other 10
- [groovy-notifications] 20201207 [jira] [Closed] (GROOVY-9824) CVE-2020-17521 Apache Groovy Information Disclosure
- [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
- [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
- https://github.com/apache/groovy/pull/1425
- https://github.com/apache/groovy/commit/bcbe5c4c76db83736166530647c024ac1e47ef28
- https://github.com/apache/groovy
- https://lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08@%3Cdev.atlas.apache.org%3E
- https://lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465@%3Cnotifications.groovy.apache.org%3E
- https://lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3@%3Cdev.atlas.apache.org%3E
- https://security.netapp.com/advisory/ntap-20201218-0006
More Apache Atlas vulnerabilities
- TI-2022-15183 Apache Atlas: zip path traversal in import functionality CVSS 3.1HIGH 8.8
- TI-2026-37315 Apache Atlas: Missing Authorization on Admin Endpoints CVSS 3.1HIGH 8.8
- TI-2026-29304 Apache Atlas: Script injection allows access to unintended data CVSS 3.1HIGH 8.1
- TI-2017-02370 Information disclosure in Apache Atlas CVSS 3.0HIGH 7.5
- TI-2016-07209 Improper access control in Apache Atlas CVSS 3.0HIGH 7.5
- TI-2024-31320 Apache Atlas: An authenticated user can perform XSS and potentially impersonate another user CVSS 3.1HIGH 7.1
Sources
- CVE-2020-17521 · CVE Program
- CVE-2020-17521 · NVD
- FIRST EPSS
- GHSA-rcjj-h6gh-jf3r · GitHub Advisory Database · CC BY 4.0
- CVE-2020-17521 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences