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

CVE-2024-45401: Path traversal vulnerability in stripe-cli

September 5, 2024 (updated November 18, 2024)

A vulnerability exists in stripe-cli versions 1.11.1 and higher where a plugin package containing a manifest with a malformed plugin shortname installed using the –archive-url or –archive-path flags can overwrite arbitrary files.

The update addresses the path traversal vulnerability by removing the ability to install plugins from an archive URL or path.

There has been no evidence of exploitation of this vulnerability.

References

  • github.com/advisories/GHSA-fv4g-gwpj-74gr
  • github.com/stripe/stripe-cli
  • github.com/stripe/stripe-cli/security/advisories/GHSA-fv4g-gwpj-74gr
  • nvd.nist.gov/vuln/detail/CVE-2024-45401

Code Behaviors & Features

Detect and mitigate CVE-2024-45401 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 starting from 1.11.1 before 1.21.3

Fixed versions

  • 1.21.3

Solution

Upgrade to version 1.21.3 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/stripe/stripe-cli/CVE-2024-45401.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:20 +0000.