Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cli/cli/v2
  4. ›
  5. CVE-2024-53858

CVE-2024-53858: Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts

November 27, 2024 (updated December 2, 2024)

A security vulnerability has been identified in the GitHub CLI that could leak authentication tokens when cloning repositories containing git submodules hosted outside of GitHub.com and ghe.com.

References

  • git-scm.com/docs/gitcredentials
  • github.com/advisories/GHSA-jwcm-9g39-pmcw
  • github.com/cli/cli
  • github.com/cli/cli/security/advisories/GHSA-jwcm-9g39-pmcw
  • nvd.nist.gov/vuln/detail/CVE-2024-53858

Code Behaviors & Features

Detect and mitigate CVE-2024-53858 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.63.0

Fixed versions

  • 2.63.0

Solution

Upgrade to version 2.63.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/cli/cli/v2/CVE-2024-53858.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.