CVE-2020-17521
JSON

5.5medium

Information Disclosure in Apache Groovy

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
1.03% (higher than 64% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-rcjj-h6gh-jf3r

Description

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Groovy2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, 4.0.0-alpha-1CVE List
org.codehaus.groovy:groovy (Maven)from 2.0.0 before 2.4.21, from 2.5.0 before 2.5.14, from 3.0.0 before 3.0.7GitHub Advisory Database
org.codehaus.groovy:groovy-all (Maven)from 2.0.0 before 2.4.21, from 2.5.0 before 2.5.14, from 3.0.0 before 3.0.7GitHub Advisory Database
apache groovyfrom 2.0.0 up to 2.4.20, from 2.5.0 up to 2.5.13, from 3.0.0 up to 3.0.6, 4.0.0NVD
netapp snapcenterNot specifiedNVD
oracle agile_engineering_data_management6.2.1.0NVD
oracle agile_plm_mcad_connector3.4, 3.6NVD
oracle agile_product_lifecycle_management9.3.3, 9.3.6NVD
oracle business_process_management_suite12.2.1.3.0, 12.2.1.4.0NVD
oracle communications_brm_-_elastic_charging_engine11.3.0.9.0, 12.0.0.3NVD
oracle communications_diameter_signaling_router8.4.0.0NVD
oracle communications_evolved_communications_application_server7.1NVD

All scores

GitHub5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

CWE-379

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Apache Groovy provee métodos de extensión para ayudar a crear directorios temporales. Antes de esta corrección, la implementación de Groovy de esos métodos de extensión utilizaba una llamada al método JDK de Java ahora reemplazada que potencialmente no es segura en algunos sistemas operativos en algunos contextos. Los usuarios que no usen los métodos de extensión mencionados en el aviso no están afectados, pero es posible que deseen leer el aviso para obtener más detalles. Versiones afectadas: 2.0 hasta 2.4.20, 2.5.0 hasta 2.5.13, 3.0.0 hasta 3.0.6 y 4.0.0-alpha-1. Corregido en las versiones 2.4.21, 2.5.14, 3.0.7, 4.0.0-alpha-2

References

https://groovy-lang.org/security.html#CVE-2020-17521third-party-advisory, web
https://lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465%40%3Cnotifications.groovy.apache.org%3Emailing-list
https://www.oracle.com/security-alerts/cpujan2021.htmlpatch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20201218-0006/third-party-advisory
https://lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3%40%3Cdev.atlas.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08%40%3Cdev.atlas.apache.org%3Emailing-list
https://www.oracle.com/security-alerts/cpuApr2021.htmlpatch, third-party-advisory, web
https://www.oracle.com//security-alerts/cpujul2021.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpuoct2021.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujan2022.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpuapr2022.htmlpatch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpujul2022.htmlpatch, third-party-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2020-17521 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-rcjj-h6gh-jf3r changed 2024-10-17CC-BY-4.0
NVDCVE-2020-17521 changed 2026-10-08Public domain