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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs977399

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
groovy (PTS)buster2.4.16-2vulnerable
bullseye2.4.21-1fixed
bookworm2.4.21-8fixed
sid, trixie2.4.21-10fixed

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

[buster] - groovy <no-dsa> (Minor issue)
[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