GitHub Advisoryadvisory · Go
GHSA-4cx6-fj7j-pjx9 Code injection in Stripe CLI on windows
HIGH
Official page ↗
- Aliases
- CVE-2022-24753
- Ecosystem
- Go
- Packages
- github.com/stripe/stripe-cli
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2022-03-10
Affected packages
• Go github.com/stripe/stripe-cli: < 1.7.13 → fixed in 1.7.13
Description
Impact
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.
There has been no evidence of exploitation of this vulnerability.
Recommendation
Upgrade to Stripe CLI v1.7.13.
Acknowledgments
Thanks to trungpabc for reporting the issue.
For more information
Email us at [email protected].
Related
Alias · CVE (1)
- CVE-2022-24753 Stripe CLI is a command-line tool for the Stripe eCommerce platform. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness