MODERATE 5.5

CVE-2020-17521

Information Disclosure in Apache Groovy

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.codehaus.groovy » groovy
>= 2.0.0, < 2.4.21>= 2.5.0, < 2.5.14>= 3.0.0, < 3.0.7
2.4.21, 2.5.14, 3.0.7
org.codehaus.groovy » groovy-all
>= 2.0.0, < 2.4.21>= 2.5.0, < 2.5.14>= 3.0.0, < 3.0.7
2.4.21, 2.5.14, 3.0.7

Blast radius

2affected artifacts
217affected versions
18,363dependent artifacts (est.)
1,073,913dependent versions

65% of the dependent artifacts (11,975) still pull an affected version in their latest release.

DepthDependent versions
Direct
160,861
2 hops
393,288
3 hops
305,995
4 hops
148,651
5 hops
53,569
6 hops
11,549

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.