Executive brief
Renovate, a popular automated dependency update tool, leaked temporary repository authentication tokens into public Pull Request comments during failures when processing Go Modules. An attacker who gains access to a Pull Request could obtain these tokens and use them to access private repositories or perform unauthorized actions, potentially compromising supply chain security and repository data.
Technical details
The vulnerability is an information exposure (CWE-200) where temporary repository tokens were accidentally written into Pull Request comments during Go Modules update failure scenarios. The affected versions are 13.87.0 through 19.38.6; the defect was introduced in version 13.87.0 and fixed in version 19.38.7. The attack vector is network-based with no authentication or user interaction required. An attacker monitoring Pull Requests or having repository access could extract leaked tokens from PR comments and reuse them. Patched versions 19.38.7 and later address this issue; users can also mitigate by disabling Go Modules support.
Affected products
- Renovate Renovate 13.87.0 through 19.38.6
Timeline
- 2019-10-18: disclosed: Published to GitHub Advisory Database on 2019-10-21
- 2019-10-18: patched: Fix released in version 19.38.7