CVE-2022-30586
Gradle vulnerability analysis and mitigation

Overview

Gradle Enterprise through version 2022.2.2 contains a vulnerability related to incorrect access control that could lead to code execution (NVD, Gradle Security). The vulnerability was discovered in the Gradle Enterprise Admin CLI's system password reset functionality for Kubernetes-based installations and was assigned CVE-2022-30586.

Technical details

The vulnerability exists in the Gradle Enterprise Admin CLI's 'system reset-system-password' command for versions earlier than 1.3.1. The issue stems from the password being parsed by a command shell, which creates an opportunity for command injection. Additionally, the password is used as an argument to a script, making it temporarily visible in the process list (Gradle Security).

Impact

The vulnerability allows command execution within the context of an 'enterprise-app' pod instance within the cluster. The password used in the reset process becomes briefly visible via the process list, potentially exposing sensitive credentials (Gradle Security).

Mitigation and workarounds

The vulnerability has been addressed in Gradle Enterprise Admin CLI version 1.3.1 and later. Users are advised to upgrade to this version or newer to mitigate the risk (Gradle Security).

Additional resources


SourceThis report was generated using AI

Related Gradle vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-27148HIGH8.8
  • GradleGradle
  • gradle-8
NoYesFeb 25, 2025
CVE-2023-35947HIGH8.1
  • GradleGradle
  • gradle
NoYesJun 30, 2023
CVE-2023-44387MEDIUM6.5
  • GradleGradle
  • gradle
NoYesOct 05, 2023
CVE-2023-39152MEDIUM6.5
  • JavaJava
  • org.jenkins-ci.plugins:gradle
NoYesJul 26, 2023
CVE-2023-42445MEDIUM5.3
  • GradleGradle
  • gradle
NoYesOct 06, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management