Plugin PublishingPlugin / extension · Gradle

CVE-2020-7599

MEDIUM · 6.5 CVSS v3.1 Published 2020-03-30
Fix available
A fix is available. Upgrade to 0.11.0 or later.
See remediation →
70/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Gradle plugin-publish component (com.gradle.plugin-publish versions before 0.11.0) logs AWS pre-signed URLs at INFO log level during plugin publishing. When the --info flag is used during publishing, these pre-signed URLs are written to build logs. If these logs are publicly accessible (common in public CI systems like TravisCI), attackers can extract the URL and upload malicious plugin versions to replace the legitimate ones.

MitigationUpgrade com.gradle.plugin-publish to version 0.11.0 or later, and ensure build logs are not publicly exposed in CI systems.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Plugin PublishingPlugin / extension
Affected:< 0.11.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Gradle plugin-publish is in use
    Search build configuration files (build.gradle, build.gradle.kts, settings.gradle, settings.gradle.kts) for the string 'com.gradle.plugin-publish' or 'plugin-publish'
    Affected if The plugin is present in the project dependencies or buildscript classpath
  2. Determine the installed version of com.gradle.plugin-publish
    Locate where the plugin version is declared (typically in buildscript dependencies, plugins block, or gradle.properties with 'plugin-publish' version property) and note the version number
    Affected if The version is below 0.11.0 (e.g., 0.10.0, 0.9.0, etc.)
  3. Check if publishing uses the --info flag
    Review CI/CD configuration files (e.g., .travis.yml, GitHub Actions workflows, Jenkinsfile) for gradle publish commands that include the --info or --info flag
    Affected if The plugin publishing command includes --info or --logging=INFO flag
  4. Determine if build logs are publicly exposed
    Review CI system settings to verify whether build logs for this repository are publicly accessible (common in public CI systems like TravisCI with default settings)
    Affected if Build logs are publicly accessible on the internet without authentication

You are affected if you use com.gradle.plugin-publish version below 0.11.0, publish with the --info flag enabled, and have publicly accessible CI build logs where the pre-signed URLs could be exposed.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Upgrade available Upgrade to 0.11.0 or later
Fixed in 0.11.0
Interim mitigation

Upgrade com.gradle.plugin-publish to version 0.11.0 or later, and ensure build logs are not publicly exposed in CI systems.

Fix this in Plugin Publishing Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2020-7599 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2020-7599 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data