CVE-2020-7599
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Maven library | com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin | Fixed | 0.11.0 | GHSA-cv78-v957-jx34 |
| Maven library | com.gradle.publish:plugin-publish-plugin | Fixed | 0.11.0 | GHSA-cv78-v957-jx34 |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- com.gradle.plugin-publish: affected: all versions before 0.11.0
References
- https://snyk.io/vuln/SNYK-JAVA-COMGRADLEPLUGINPUBLISH-559866
- https://blog.gradle.org/plugin-portal-update
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.