Description
All versions of com.gradle.plugin-publish before 0.11.0 are vulnerable to Insertion of Sensitive Information into Log File. When a plugin author publishes a Gradle plugin while running Gradle with the --info log level flag, the Gradle Logger logs an AWS pre-signed URL. If this build log is publicly visible (as it is in many popular public CI systems like TravisCI) this AWS pre-signed URL would allow a malicious actor to replace a recently uploaded plugin with their own.
Remediation
References
https://blog.gradle.org/plugin-portal-update
https://snyk.io/vuln/SNYK-JAVA-COMGRADLEPLUGINPUBLISH-559866
Related Vulnerabilities
CVE-2011-4605 Vulnerability in maven package org.jboss.naming:jnpserver
CVE-2020-27196 Vulnerability in maven package com.typesafe.play:play-java
CVE-2014-0035 Vulnerability in maven package org.apache.cxf:cxf-rt-ws-security
CVE-2021-39150 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2017-15703 Vulnerability in maven package org.apache.nifi:nifi-framework-cluster-protocol