# CVE-2020-17521: Information Disclosure in Apache Groovy

Source: https://junglewise.ai/threats/cve-2020-17521-information-disclosure-in-apache-groovy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-12-09  
License: CC BY 4.0 with a link back

CVE-2020-17521 · Severity: low · CVSS 3.1 · Published 2020-12-09

Information Disclosure in Apache Groovy

Technologies: [org.codehaus.groovy:groovy (Maven)](https://junglewise.ai/threats/technologies/org-codehaus-groovy-groovy), [org.codehaus.groovy:groovy-all (Maven)](https://junglewise.ai/threats/technologies/org-codehaus-groovy-groovy-all). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-17521 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-17521 being exploited in the wild.

**How severe is CVE-2020-17521?** Low severity, with a CVSS score of 3.1, published 9 December 2020.

**Which products and versions are affected?** org.codehaus.groovy:groovy (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.4.21; org.codehaus.groovy:groovy-all (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.4.21.

**Is there a fix for CVE-2020-17521?** Yes. org.codehaus.groovy:groovy (Maven): upgrade to 2.4.21 or later; org.codehaus.groovy:groovy-all (Maven): upgrade to 2.4.21 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-17521?** Check whether you run org.codehaus.groovy:groovy (Maven) or org.codehaus.groovy:groovy-all (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.codehaus.groovy:groovy (Maven): upgrade to 2.4.21 or later

  ```sh
  # set org.codehaus.groovy:groovy to 2.4.21 in your pom.xml or build.gradle
  ```

- org.codehaus.groovy:groovy-all (Maven): upgrade to 2.4.21 or later

  ```sh
  # set org.codehaus.groovy:groovy-all to 2.4.21 in your pom.xml or build.gradle
  ```


## Affected products

- org.codehaus.groovy:groovy (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.4.21
- org.codehaus.groovy:groovy-all (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.4.21

## Identifiers

- CVE-2020-17521
- GHSA-rcjj-h6gh-jf3r

## Related threats

- [Improper Neutralization of Special Elements in Output Used by a Downstream Component in Apache Groovy](https://junglewise.ai/threats/cve-2015-3253-improper-neutralization-of-special-elements-in-output-used-by-a)
- [Deserialization of Untrusted Data in Groovy](https://junglewise.ai/threats/cve-2016-6814-deserialization-of-untrusted-data-in-groovy)
