CVE-2020-17521
Fixed in a distro release EPSS 1%
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: Apache Software Foundation Apache Groovy
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Maven | org.codehaus.groovy:groovy | 2.4.21 |
| Maven | org.codehaus.groovy:groovy | 2.5.14 |
| Maven | org.codehaus.groovy:groovy | 3.0.7 |
| Maven | org.codehaus.groovy:groovy-all | 2.4.21 |
| Maven | org.codehaus.groovy:groovy-all | 2.5.14 |
| Maven | org.codehaus.groovy:groovy-all | 3.0.7 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | eco-java-gradle-2.0 | no fix |
| Chainguard | eco-java-gradle-2.1 | no fix |
| Chainguard | eco-java-gradle-2.10 | no fix |
| Chainguard | eco-java-gradle-2.11 | no fix |
| Chainguard | eco-java-gradle-2.12 | no fix |
| Chainguard | eco-java-gradle-2.13 | no fix |
| Chainguard | eco-java-gradle-2.14 | no fix |
| Chainguard | eco-java-gradle-2.14.1 | no fix |
| Chainguard | eco-java-gradle-2.2 | no fix |
| Chainguard | eco-java-gradle-2.2.1 | no fix |
| Chainguard | eco-java-gradle-2.3 | no fix |
| Chainguard | eco-java-gradle-2.4 | no fix |
| Chainguard | eco-java-gradle-2.5 | no fix |
| Chainguard | eco-java-gradle-2.6 | no fix |
| Chainguard | eco-java-gradle-2.7 | no fix |
| Chainguard | eco-java-gradle-2.8 | no fix |
| Chainguard | eco-java-gradle-2.9 | no fix |
| Chainguard | eco-java-gradle-3.0 | no fix |
| Chainguard | eco-java-gradle-3.1 | no fix |
| Chainguard | eco-java-gradle-3.2 | no fix |
| Chainguard | eco-java-gradle-3.2.1 | no fix |
| Chainguard | eco-java-gradle-3.3 | no fix |
| Chainguard | eco-java-gradle-3.4 | no fix |
| Chainguard | eco-java-gradle-3.4.1 | no fix |
| Chainguard | eco-java-gradle-3.5 | no fix |
| Chainguard | eco-java-gradle-3.5.1 | no fix |
| Chainguard | eco-java-gradle-4.0 | no fix |
| Chainguard | eco-java-gradle-4.0.1 | no fix |
| Chainguard | eco-java-gradle-4.0.2 | no fix |
| Chainguard | eco-java-gradle-4.1 | no fix |
| Chainguard | eco-java-gradle-4.10 | no fix |
| Chainguard | eco-java-gradle-4.10.1 | no fix |
| Chainguard | eco-java-gradle-4.10.2 | no fix |
| Chainguard | eco-java-gradle-4.10.3 | no fix |
| Chainguard | eco-java-gradle-4.2 | no fix |
| Chainguard | eco-java-gradle-4.2.1 | no fix |
| Chainguard | eco-java-gradle-4.3 | no fix |
| Chainguard | eco-java-gradle-4.3.1 | no fix |
| Chainguard | eco-java-gradle-4.4 | no fix |
| Chainguard | eco-java-gradle-4.4.1 | no fix |
| Chainguard | eco-java-gradle-4.5 | no fix |
| Chainguard | eco-java-gradle-4.5.1 | no fix |
| Chainguard | eco-java-gradle-4.6 | no fix |
| Chainguard | eco-java-gradle-4.7 | no fix |
| Chainguard | eco-java-gradle-4.8 | no fix |
| Chainguard | eco-java-gradle-4.8.1 | no fix |
| Chainguard | eco-java-gradle-4.9 | no fix |
| Debian:12 | groovy | 2.4.21-1 |
| Debian:13 | groovy | 2.4.21-1 |
| Debian:14 | groovy | 2.4.21-1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP2 | groovy | 2.4.21-3.3.2 |
| Ubuntu:16.04:LTS | groovy | no fix |
| Ubuntu:18.04:LTS | groovy | no fix |
| Ubuntu:20.04:LTS | groovy | no fix |
| Ubuntu:22.04:LTS | groovy | no fix |
| Ubuntu:24.04:LTS | groovy | no fix |
| Ubuntu:25.10 | groovy | no fix |
| Ubuntu:26.04:LTS | groovy | no fix |
| Ubuntu:26.10 | groovy | no fix |
| Ubuntu:Pro:16.04:LTS | groovy2 | no fix |
| openSUSE:Leap 15.2 | groovy | 2.4.21-lp152.2.3.2 |
| openSUSE:Tumbleweed | groovy | 2.4.21-2.3 |