ArchLinux: 202103-14: groovy: privilege escalation
Summary
Groovy before version 2.5.14 may create temporary directories within the OS temporary directory which is shared between all users on affected systems. Groovy will create such directories for internal use when producing Java Stubs or on behalf of user code via two extension methods for creating temporary directories. If Groovy user code uses either of these extension methods, and stores executable code in the resulting temporary directory, this can lead to local privilege escalation. If such Groovy code is making use of the temporary directory to store sensitive information, such information could be exposed or modified.
Resolution
Upgrade to 2.5.14-1.
# pacman -Syu "groovy>=2.5.14-1"
The problem has been fixed upstream in version 2.5.14.
References
https://bugs.archlinux.org/task/68865 https://issues.apache.org/jira/browse/GROOVY-9824 https://github.com/apache/groovy/commit/98dc5d713926cd81b006c510a1546ccd520fe17f https://security.archlinux.org/CVE-2020-17521
Workaround
None.