Advisories

Renovate before 44.14.7 Command Injection via gradle-wrapper

Go Back
severity
high
date
Affecting
  • renovate >= 0, < 44.14.7

  • renovate >= 0, < 44.14.7

  • renovate >= 0, < 44.14.7

  • renovate >= 0, < 44.14.7

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 15.4.0

  • renovate >= 0, < 10.4.0

  • renovate >= 0, < 10.4.0

CWE
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSS
8.5
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
iaohkut-from-NightWolf-Team
Description
Renovate is a dependency update automation tool. In versions before 44.14.7 (and in Mend Renovate CE/EE distributions before 15.4.0, and the mend-renovate-enterprise-edition Helm chart before 10.4.0), the manager/gradle-wrapper module does not escape the distributionUrl value read from a repository's gradle/wrapper/gradle-wrapper.properties file before invoking the Gradle Wrapper CLI. In self-hosted deployments configured with binarySource=docker and allowedUnsafeExecutions=['gradleWrapper', ...], a repository that supplies a crafted distributionUrl (for example, appending a shell metacharacter and command) can cause arbitrary commands to be executed as the Renovate user when Renovate processes a Gradle Wrapper update. The issue is fixed in Renovate 44.14.7; as a workaround, remove 'gradleWrapper' from allowedUnsafeExecutions.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.