Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/stripe/stripe-cli
  4. ›
  5. CVE-2022-24753

CVE-2022-24753: Code injection in Stripe CLI on windows

March 10, 2022 (updated March 11, 2022)

Stripe CLI is a command-line tool for the Stripe eCommerce platform. A vulnerability in Stripe CLI exists on Windows when certain commands are run in a directory where an attacker has planted files. The commands are stripe login, stripe config -e, stripe community, and stripe open. MacOS and Linux are unaffected. An attacker who successfully exploits the vulnerability can run arbitrary code in the context of the current user. The update addresses the vulnerability by throwing an error in these situations before the code can run.Users are advised to upgrade to version 1.7.13. There are no known workarounds for this issue.

References

  • github.com/advisories/GHSA-4cx6-fj7j-pjx9
  • github.com/stripe/stripe-cli/commit/be38da5c0191adb77f661f769ffff2fbc7ddf6cd
  • github.com/stripe/stripe-cli/security/advisories/GHSA-4cx6-fj7j-pjx9
  • nvd.nist.gov/vuln/detail/CVE-2022-24753

Code Behaviors & Features

Detect and mitigate CVE-2022-24753 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 1.7.13

Fixed versions

  • v1.7.13

Solution

Upgrade to version 1.7.13 or above.

Impact 7 HIGH

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

Learn more about CVSS

Source file

go/github.com/stripe/stripe-cli/CVE-2022-24753.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:19 +0000.