Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.codehaus.groovy/groovy-all
  4. ›
  5. CVE-2020-17521

CVE-2020-17521: Information Disclosure in Apache Groovy

December 9, 2020 (updated October 17, 2024)

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.

References

  • github.com/advisories/GHSA-rcjj-h6gh-jf3r
  • github.com/apache/groovy
  • github.com/apache/groovy/commit/bcbe5c4c76db83736166530647c024ac1e47ef28
  • github.com/apache/groovy/pull/1425
  • groovy-lang.org/security.html
  • lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08@%3Cdev.atlas.apache.org%3E
  • lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465@%3Cnotifications.groovy.apache.org%3E
  • lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3@%3Cdev.atlas.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2020-17521
  • security.netapp.com/advisory/ntap-20201218-0006
  • www.oracle.com//security-alerts/cpujul2021.html
  • www.oracle.com/security-alerts/cpuApr2021.html
  • www.oracle.com/security-alerts/cpuapr2022.html
  • www.oracle.com/security-alerts/cpujan2021.html
  • www.oracle.com/security-alerts/cpujan2022.html
  • www.oracle.com/security-alerts/cpujul2022.html
  • www.oracle.com/security-alerts/cpuoct2021.html

Code Behaviors & Features

Detect and mitigate CVE-2020-17521 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.4.21, all versions starting from 2.5.0 before 2.5.14, all versions starting from 3.0.0 before 3.0.7

Fixed versions

  • 2.4.21
  • 2.5.14
  • 3.0.7

Solution

Upgrade to versions 2.4.21, 2.5.14, 3.0.7 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Source file

maven/org.codehaus.groovy/groovy-all/CVE-2020-17521.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.