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)
| Artifact | Affected versions | Fixed 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
65% of the dependent artifacts (11,975) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.codehaus.groovy » groovy-all5,349 usages
- io.rest-assured » rest-assured3,698 usages
- org.spockframework » spock-core3,338 usages
- com.github.spotbugs » spotbugs-maven-plugin3,264 usages
- org.apache.spark » spark-sql3,174 usages
- org.codehaus.mojo » findbugs-maven-plugin2,938 usages
- org.apache.spark » spark-core2,899 usages
- com.diffplug.spotless » spotless-maven-plugin2,873 usages
- com.android.tools.build » gradle2,197 usages
- info.picocli » picocli1,469 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.apache.maven.plugins » maven-invoker-plugin1,393 usages
- io.quarkus » quarkus-resteasy1,251 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-17521
- Webhttps://github.com/apache/groovy/pull/1425
- Webhttps://github.com/apache/groovy/commit/bcbe5c4c76db83736166530647c024ac1e47ef28
- Packagehttps://github.com/apache/groovy
- Webhttps://groovy-lang.org/security.html#CVE-2020-17521
- Webhttps://lists.apache.org/thread.html/r4b2f13c302eec98838ff7475253091fb9b75bc1038016ba00ebf6c08@%3Cdev.atlas.apache.org%3E
- Webhttps://lists.apache.org/thread.html/ra9dab34bf8625511f23692ad0fcee2725f782e9aad6c5cdff6cf4465@%3Cnotifications.groovy.apache.org%3E
- Webhttps://lists.apache.org/thread.html/rea63a4666ba245d2892471307772a2d8ce0f0741f341d6576625c1b3@%3Cdev.atlas.apache.org%3E
- Webhttps://security.netapp.com/advisory/ntap-20201218-0006
- Webhttps://www.oracle.com//security-alerts/cpujul2021.html
- Webhttps://www.oracle.com/security-alerts/cpuApr2021.html
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttps://www.oracle.com/security-alerts/cpujan2021.html
- Webhttps://www.oracle.com/security-alerts/cpujan2022.html
- Webhttps://www.oracle.com/security-alerts/cpujul2022.html
- Webhttps://www.oracle.com/security-alerts/cpuoct2021.html
