Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-17521
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:34 UTC · Revision 1

Source evidence

CVE-2020-17521

core-osv · Original source

Published 7 Dec 2020, 20:15 UTC

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.

osv:CVE-2020-17521
Complete source record
{
  "id": "35bea25b2953fa9749ed202dc48531810bb64b32620f59d8a827f759c6421700",
  "url": "https://osv.dev/vulnerability/CVE-2020-17521",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-17521",
    "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.",
    "evidence": "osv:CVE-2020-17521",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-17521",
      "aliases": [
        "CVE-2020-17521",
        "GHSA-rcjj-h6gh-jf3r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/groovy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "837dc41fe6b8e4c96abaeaa481a52e1d58e9c80f"
                },
                {
                  "last_affected": "a21733c9e20b208a614f890fffb0dd42ab3650c7"
                },
                {
                  "introduced": "cfea02483ef46c89eae66d4af932a725574edc4d"
                },
                {
                  "last_affected": "0e6f3ac4a641d1ef387ce9eba96be1ebe917c27f"
                },
                {
                  "introduced": "60d50180e756fa75e45d78357f36285fcdf62846"
                },
                {
                  "last_affected": "6eb8bbbf62120a29cae04d3cdddf0e4e28954760"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "last_affected": "2.4.20"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.5.0"
                      },
                      {
                        "last_affected": "2.5.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-17521.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.273543613Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08%40%3Cdev.atlas.apache.org%3E",
        "https://lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465%40%3Cnotifications.groovy.apache.org%3E",
        "https://lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3%40%3Cdev.atlas.apache.org%3E",
        "https://groovy-lang.org/security.html#CVE-2020-17521",
        "https://security.netapp.com/advisory/ntap-20201218-0006/",
        "https://www.oracle.com//security-alerts/cpujul2021.html",
        "https://www.oracle.com/security-alerts/cpuApr2021.html",
        "https://www.oracle.com/security-alerts/cpuapr2022.html",
        "https://www.oracle.com/security-alerts/cpujan2021.html",
        "https://www.oracle.com/security-alerts/cpujan2022.html",
        "https://www.oracle.com/security-alerts/cpujul2022.html",
        "https://www.oracle.com/security-alerts/cpuoct2021.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:insurance_policy_administration:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:insurance_policy_administration",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.3.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:primavera_gateway",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.12.0"
                  },
                  {
                    "last_affected": "17.12.10"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:primavera_unifier",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "17.7"
                  },
                  {
                    "last_affected": "17.12"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:apache:atlas:2.1.0:-:*:*:*:*:*:*"
            ],
            "vendor_product": "apache:atlas",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.1.0-NA"
                  },
                  {
                    "last_affected": "2.1.0-NA"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:apache:groovy:4.0.0:alpha1:*:*:*:*:*:*"
            ],
            "vendor_product": "apache:groovy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0-alpha1"
                  },
                  {
                    "last_affected": "4.0.0-alpha1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:agile_engineering_data_management",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.2.1.0"
                  },
                  {
                    "last_affected": "6.2.1.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:agile_plm_mcad_connector:3.4:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:agile_plm_mcad_connector:3.6:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:agile_plm_mcad_connector",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.4"
                  },
                  {
                    "last_affected": "3.4"
                  },
                  {
                    "introduced": "3.6"
                  },
                  {
                    "last_affected": "3.6"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.3:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:agile_product_lifecycle_management",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.3.3"
                  },
                  {
                    "last_affected": "9.3.3"
                  },
                  {
                    "introduced": "9.3.6"
                  },
                  {
                    "last_affected": "9.3.6"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:business_process_management_suite:12.2.1.3.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:business_process_management_suite:12.2.1.4.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:business_process_management_suite",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.2.1.3.0"
                  },
                  {
                    "last_affected": "12.2.1.3.0"
                  },
                  {
                    "introduced": "12.2.1.4.0"
                  },
                  {
                    "last_affected": "12.2.1.4.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:11.3.0.9.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:communications_brm_-_elastic_charging_engine:12.0.0.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_brm_-_elastic_charging_engine",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.3.0.9.0"
                  },
                  {
                    "last_affected": "11.3.0.9.0"
                  },
                  {
                    "introduced": "12.0.0.3"
                  },
                  {
                    "last_affected": "12.0.0.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_diameter_signaling_router:8.4.0.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_diameter_signaling_router",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.4.0.0"
                  },
                  {
                    "last_affected": "8.4.0.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_evolved_communications_application_server:7.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_evolved_communications_application_server",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.1"
                  },
                  {
                    "last_affected": "7.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_services_gatekeeper:6.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:communications_services_gatekeeper:6.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:communications_services_gatekeeper:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_services_gatekeeper",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0"
                  },
                  {
                    "last_affected": "6.0"
                  },
                  {
                    "introduced": "6.1"
                  },
                  {
                    "last_affected": "6.1"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:healthcare_data_repository:7.0.2:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:healthcare_data_repository",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.2"
                  },
                  {
                    "last_affected": "7.0.2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:hospitality_opera_5:5.6:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:hospitality_opera_5",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.6"
                  },
                  {
                    "last_affected": "5.6"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:ilearning:6.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:ilearning:6.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:ilearning",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.2"
                  },
                  {
                    "last_affected": "6.2"
                  },
                  {
                    "introduced": "6.3"
                  },
                  {
                    "last_affected": "6.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:jd_edwards_enterpriseone_orchestrator:9.2.6.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:jd_edwards_enterpriseone_orchestrator",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.2.6.0"
                  },
                  {
                    "last_affected": "9.2.6.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:primavera_unifier:16.1:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:primavera_unifier:16.2:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:primavera_unifier",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.1"
                  },
                  {
                    "last_affected": "16.1"
                  },
                  {
                    "introduced": "16.2"
                  },
                  {
                    "last_affected": "16.2"
                  },
                  {
                    "introduced": "18.8"
                  },
                  {
                    "last_affected": "18.8"
                  },
                  {
                    "introduced": "19.12"
                  },
                  {
                    "last_affected": "19.12"
                  },
                  {
                    "introduced": "20.12"
                  },
                  {
                    "last_affected": "20.12"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_bulk_data_integration:15.0.3.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_bulk_data_integration:16.0.3.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_bulk_data_integration",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.0.3.0"
                  },
                  {
                    "last_affected": "15.0.3.0"
                  },
                  {
                    "introduced": "16.0.3.0"
                  },
                  {
                    "last_affected": "16.0.3.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_merchandising_system:16.0.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_merchandising_system",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "16.0.3"
                  },
                  {
                    "last_affected": "16.0.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:retail_store_inventory_management:14.1.3.10:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_store_inventory_management:15.0.3.5:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:retail_store_inventory_management:16.0.3.5:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:retail_store_inventory_management",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.1.3.10"
                  },
                  {
                    "last_affected": "14.1.3.10"
                  },
                  {
                    "introduced": "15.0.3.5"
                  },
                  {
                    "last_affected": "15.0.3.5"
                  },
                  {
                    "introduced": "16.0.3.5"
                  },
                  {
                    "last_affected": "16.0.3.5"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-17521",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430234,
  "published_at": "2020-12-07T20:15:12.633+00:00"
}