GitHub Advisoryadvisory · Maven

GHSA-cv78-v957-jx34 Exposure of Sensitive Information in Gradle publish plugin

MEDIUM Published 2022-05-24 Modified 2022-07-27 Official page ↗
Aliases
CVE-2020-7599
Ecosystem
Maven
Packages
com.gradle.publish:plugin-publish-plugin, com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin
Severity
Moderate
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2022-07-27

Affected packages

• Maven com.gradle.publish:plugin-publish-plugin: < 0.11.0 → fixed in 0.11.0 • Maven com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin: < 0.11.0 → fixed in 0.11.0

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.

Related

Alias · CVE (1)

  • CVE-2020-7599 All versions of com.gradle.plugin-publish before 0.11.0 are vulnerable to Insertion of Sensitive Information into Log File. vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References