Vulnerability · Published Mar 30, 2020 · Assigned by snyk
CVE-2020-7599
Medium 6.5
In plain English
A medium-severity security flaw in com.gradle.plugin-publish. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin | 0.11.0 | GHSA-cv78-v957-jx34 |
| Maven | com.gradle.publish:plugin-publish-plugin | 0.11.0 | GHSA-cv78-v957-jx34 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.gradle.plugin-publish | all versions before 0.11.0 |
References
- https://snyk.io/vuln/SNYK-JAVA-COMGRADLEPLUGINPUBLISH-559866 x_refsource_MISC
- https://blog.gradle.org/plugin-portal-update x_refsource_MISC