CVE-2020-17521: Infoleak

Published Nov 19, 2020
·
Updated

A flaw was found in Apache Groovy. Groovy makes use of a method for creating temporary directories which is not suitable for security-sensitive contexts and allows for sensitive information leakage. The highest threat from this vulnerability is to data confidentiality.

Other sources

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 Software

49 affected componentsFixes available
redhat/groovy<2.4.21
2.4.21
redhat/groovy<2.5.14
2.5.14
redhat/groovy<3.0.7
3.0.7
redhat/groovy 4.0.0-alpha<2
2
maven/org.codehaus.groovy:groovy-all>=3.0.0<3.0.7
3.0.7
maven/org.codehaus.groovy:groovy-all>=2.5.0<2.5.14
2.5.14
maven/org.codehaus.groovy:groovy-all>=2.0.0<2.4.21
2.4.21
maven/org.codehaus.groovy:groovy>=3.0.0<3.0.7
3.0.7
maven/org.codehaus.groovy:groovy>=2.5.0<2.5.14
2.5.14
maven/org.codehaus.groovy:groovy>=2.0.0<2.4.21
2.4.21
Apache Groovy>=2.0.0<=2.4.20
Apache Groovy>=2.5.0<=2.5.13
Apache Groovy>=3.0.0<=3.0.6
Apache Groovy=4.0.0-alpha1
NetApp Snapcenter
Oracle Agile Engineering Data Management=6.2.1.0
Oracle Agile PLM=9.3.3
Oracle Agile PLM=9.3.6
Oracle Agile Plm Mcad Connector=3.4
Oracle Agile Plm Mcad Connector=3.6
Oracle Business Process Management Suite=12.2.1.3.0
Oracle Business Process Management Suite=12.2.1.4.0
Oracle Communications Brm - Elastic Charging Engine=11.3.0.9.0
Oracle Communications Brm - Elastic Charging Engine=12.0.0.3
Oracle Communications Diameter Signaling Router=8.4.0.0
Oracle Communications Evolved Communications Application Server=7.1
Oracle Communications Services Gatekeeper=6.0
Oracle Communications Services Gatekeeper=6.1
Oracle Communications Services Gatekeeper=7.0
Oracle Healthcare Data Repository=7.0.2
Oracle Hospitality OPERA 5=5.6
Oracle iLearning=6.2
Oracle iLearning=6.3
Oracle Insurance Policy Administration>=11.0<=11.3.1
Oracle JD Edwards EnterpriseOne Orchestrator=9.2.6.0
Oracle Primavera Gateway>=17.12.0<=17.12.10
Oracle Primavera Unifier>=17.7<=17.12
Oracle Primavera Unifier=16.1
Oracle Primavera Unifier=16.2
Oracle Primavera Unifier=18.8
Oracle Primavera Unifier=19.12
Oracle Primavera Unifier=20.12
Oracle Retail Bulk Data Integration=15.0.3.0
Oracle Retail Bulk Data Integration=16.0.3.0
Oracle Retail Merchandising System=16.0.3
Oracle Retail Store Inventory Management=14.1.3.10
Oracle Retail Store Inventory Management=15.0.3.5
Oracle Retail Store Inventory Management=16.0.3.5
Apache Atlas=2.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy-all to a version that resolves this vulnerability.

    Fixed in 3.0.7
  2. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy-all to a version that resolves this vulnerability.

    Fixed in 2.5.14
  3. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy-all to a version that resolves this vulnerability.

    Fixed in 2.4.21
  4. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy to a version that resolves this vulnerability.

    Fixed in 3.0.7
  5. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy to a version that resolves this vulnerability.

    Fixed in 2.5.14
  6. Upgrade

    Upgrade maven/org.codehaus.groovy:groovy to a version that resolves this vulnerability.

    Fixed in 2.4.21
  7. Upgrade

    Upgrade redhat/groovy to a version that resolves this vulnerability.

    Fixed in 2.4.21
  8. Upgrade

    Upgrade redhat/groovy to a version that resolves this vulnerability.

    Fixed in 2.5.14
  9. Upgrade

    Upgrade redhat/groovy to a version that resolves this vulnerability.

    Fixed in 3.0.7
  10. Upgrade

    Upgrade redhat/groovy 4.0.0-alpha to a version that resolves this vulnerability.

    Fixed in 2
  11. Upgrade

    Upgrade Apache Groovy to a version that resolves this vulnerability.

    Fixed in 2.4.21
  12. Upgrade

    Upgrade Apache Groovy to a version that resolves this vulnerability.

    Fixed in 2.5.14
  13. Upgrade

    Upgrade Apache Groovy to a version that resolves this vulnerability.

    Fixed in 3.0.7
  14. Upgrade

    Upgrade Apache Groovy to a version that resolves this vulnerability.

    Fixed in 4.0.0-alpha-2
  15. Configuration

    Set the java.io.tmpdir system environment variable to a directory that is exclusively owned by the executing user to fix the vulnerability for all operating systems and all Groovy versions.

    Java (system environment variable used by Groovy/JDK) java.io.tmpdir = Directory exclusively owned by the executing user
  16. Compensating control

    For users who cannot easily move to the fixed Groovy versions, use the JDK’s Files#createTempDirectory method instead of Groovy extension methods for creating temporary directories in security-sensitive contexts.

Event History

Nov 19, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 7, 2020
CVE Published
via MITRE·07:22 PM
Data Sourced
via MITRE·07:22 PM
DescriptionWeakness
Dec 9, 2020
Advisory Published
via GitHub·07:03 PM
Jan 29, 2021
Data Sourced
via Red Hat·09:57 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-17521?

CVE-2020-17521 is a vulnerability found in Apache Groovy that allows an attacker to perform a directory traversal attack.

2

How severe is CVE-2020-17521?

CVE-2020-17521 has a severity rating of 5.5 (medium).

3

Who is affected by CVE-2020-17521?

The vulnerability affects users of Apache Groovy versions from 2.0.0 up to (but not including) 2.4.21, versions from 2.5.0 up to (but not including) 2.5.14, and versions from 3.0.0 up to (but not including) 3.0.7.

4

How can I fix CVE-2020-17521?

To fix CVE-2020-17521, users should update Apache Groovy to version 2.4.21, 2.5.14, or 3.0.7.

5

Where can I find more information about CVE-2020-17521?

More information about CVE-2020-17521 can be found on the Apache Groovy security page, as well as in the provided references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203