GHSA-v7x3-7hw7-pcjg: Renovate Renovate Vulnerable To Leakage Of Vulnerability

MODERATE
CVSS 5.3
CWE-200
Published
Advisory Summary

GHSA-v7x3-7hw7-pcjg is a MODERATE (CVSS 5.3) renovate vulnerable to leakage of vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Renovate libraries in the npm ecosystem. The issue involves renovate vulnerable to leakage of temporary repository tokens into pull request comments. Remediation is available by upgrading affected packages to version 19.38.7.

GHSA-v7x3-7hw7-pcjg at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-v7x3-7hw7-pcjg
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Renovate
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-v7x3-7hw7-pcjg

To remediate this vulnerability, upgrade all affected Renovate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

renovate fixed: 19.38.7
npm install renovate@19.38.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls renovate

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-v7x3-7hw7-pcjg, inspect your project dependencies using npm:

npm ls renovate

Analyze the terminal output to locate any version of Renovate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 19.38.7), your application is affected.

Note: The npm ls renovate command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Renovate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Temporary repository tokens were leaked into Pull Requests comments in during certain Go Modules update failure scenarios. ### Patches The problem has been patched. Self-hosted users should upgrade to v19.38.7 or later. ### Workarounds Disable Go Modules support. ### References Blog post: https://renovatebot.com/blog/go-modules-vulnerability-disclosure ### For more information If you have any questions or comments about this advisory: * Open an issue in [Renovate](http://github.com/renovatebot/renovate)

GHSA-v7x3-7hw7-pcjg Affected Renovate Versions

1 component(s)
Fixed Versions:
19.38.7
Product / Package Ecosystem Affected Versions Fixed Version
renovate
npm
≥ 13.87.0
< 19.38.7
19.38.7

References

Frequently Asked Questions

What is GHSA-v7x3-7hw7-pcjg?
GHSA-v7x3-7hw7-pcjg is a security vulnerability in Renovate involving Renovate vulnerable to leakage of temporary repository tokens into Pull Request comments under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Renovate versions are affected?
Affected versions include releases prior to 19.38.7 across affected packages: renovate.
What version fixes GHSA-v7x3-7hw7-pcjg?
Upgrading to 19.38.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is renovate affected?
Yes, renovate is affected in releases prior to 19.38.7. Upgrade your dependency to 19.38.7 or later.
What is the CVSS score of GHSA-v7x3-7hw7-pcjg?
GHSA-v7x3-7hw7-pcjg has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-v7x3-7hw7-pcjg?
GHSA-v7x3-7hw7-pcjg is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check npm dependencies for GHSA-v7x3-7hw7-pcjg?
Run the dependency tree command: 'npm ls renovate'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v7x3-7hw7-pcjg",
  "modified" : "2022-08-11T13:20:10Z",
  "published" : "2019-10-21T16:02:33Z",
  "aliases" : [ ],
  "summary" : "Renovate vulnerable to leakage of temporary repository tokens into Pull Request comments",
  "details" : "### Impact\n\nTemporary repository tokens were leaked into Pull Requests comments in during certain Go Modules update failure scenarios.\n\n### Patches\n\nThe problem has been patched. Self-hosted users should upgrade to v19.38.7 or later.\n\n### Workarounds\n\nDisable Go Modules support.\n\n### References\n\nBlog post: https://renovatebot.com/blog/go-modules-vulnerability-disclosure\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Renovate](http://github.com/renovatebot/renovate)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "renovate"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.87.0"
      }, {
        "fixed" : "19.38.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/renovatebot/renovate/security/advisories/GHSA-v7x3-7hw7-pcjg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-v7x3-7hw7-pcjg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/renovatebot/renovate"
  }, {
    "type" : "WEB",
    "url" : "https://snyk.io/vuln/SNYK-JS-RENOVATE-536203"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:57:15Z",
    "nvd_published_at" : null
  }
}