Renovate Azure DevOps token leakage in logs

Severity: info · Published 2020-09-14

Renovate, a popular tool for automating dependency updates, was found to leak sensitive Azure DevOps authentication tokens in its logs. If an organization uses Renovate with Azure DevOps, these secret tokens could be visible to anyone with access to the server or pipeline logs. An attacker with access to these logs could use the leaked tokens to impersonate the bot and gain unauthorized access to the organization's code repositories.

Technologies: renovate (npm). Vendors: npm.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 14 September 2020.
Which products and versions are affected?
renovate (npm) SEMVER:introduced=19.180.0,fixed=23.25.1.
Is there a fix for This vulnerability?
Yes. renovate (npm): upgrade to 23.25.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked with local access, in a software library.
Am I affected?
Check whether you run renovate (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • renovate (npm): upgrade to 23.25.1 or later
    npm install renovate@23.25.1

Technical details

A vulnerability in Renovate's logging mechanism causes the 'http.extraheader=AUTHORIZATION' parameter to be recorded without proper redaction when interacting with Azure DevOps. This occurs in versions 19.180.0 through 23.25.0. The flaw allows anyone with read access to the execution logs (such as CI/CD pipeline logs or server stdout) to retrieve the bot's PAT (Personal Access Token). This is a classic information disclosure issue resulting from improper sensitive data handling in logging routines. The issue is resolved in version 23.25.1, which implements proper redaction for these headers.

Affected products

  • Renovate Bot renovate >=19.180.0, <23.25.1

Timeline

  • 2020-09-12: advisory: Original GitHub Security Advisory published
  • 2020-09-14: disclosed: Public disclosure via OSV/GHSA

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.