CVE-2020-17521

NameCVE-2020-17521
DescriptionApache 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow
Debian Bugs977399

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
groovy (PTS)stretch2.4.8-1vulnerable
buster2.4.16-2vulnerable
bullseye, sid2.4.21-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
groovysource(unstable)2.4.21-1977399
groovy2source(unstable)(unfixed)

Notes

[stretch] - groovy <no-dsa> (Minor issue)
https://issues.apache.org/jira/browse/GROOVY-9824
https://www.openwall.com/lists/oss-security/2020/12/06/1
https://github.com/apache/groovy/commit/4e418d4a34c973a7ec1e822552103043ac13780e (GROOVY_2_4_21)

Search for package or bug name: Reporting problems