Advisories

Renovate before 44.14.4 TLS Private Key Log Sanitisation

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

  • renovate >= 0, < 44.14.44

  • renovate >= 0, < 44.14.44

  • renovate >= 0, < 44.14.44

  • 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-532 Insertion of Sensitive Information into Log File
CVSS
8.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Credit
jamietanna
Description
Renovate is an automated dependency update tool. In versions before 44.14.4 (and Mend Renovate CE/EE images before 15.4.0 and the mend-renovate-enterprise-edition Helm chart before 10.4.0), log sanitisation for TLS private keys used for Mutual TLS was incomplete. While the value of hostRules[].httpsPrivateKey was redacted in the field itself, the same private key value was not redacted if it also appeared elsewhere — for example in another configuration option or in a log message under a key other than httpsPrivateKey — causing the full private key to be written to Renovate's logs in cleartext. This affects deployments that configure Mutual TLS through hostRules[].httpsPrivateKey without passing the value through the documented `secrets` configuration. Anyone able to read the resulting logs can recover the private key. The issue is fixed in Renovate 44.14.4, which redacts any value supplied as hostRules[].httpsPrivateKey wherever it appears in the logs; as a workaround, supply the key via the `secrets` configuration.

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.