Affected versions
Ubuntu18.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu25.10/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/groovy
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/groovy2
- Affected versions
- *
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/groovy
- Affected versions
- *
- Fixed version
- Not reported
Description
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.
Links
- https://github.com/apache/groovy/commit/4e418d4a34c973a7ec1e822552103043ac13780e
- https://groovy-lang.org/security.html#CVE-2020-17521
- https://issues.apache.org/jira/browse/GROOVY-9824
- https://lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465@%3Cnotifications.groovy.apache.org%3E
- https://ubuntu.com/security/CVE-2020-17521
- https://www.cve.org/CVERecord?id=CVE-2020-17521
- https://www.openwall.com/lists/oss-security/2020/12/06/1

