{"id":"GHSA-4cx6-fj7j-pjx9","summary":"Code injection in Stripe CLI on windows","details":"### Impact\nA 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.\n\nAn 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.\n\nThere has been no evidence of exploitation of this vulnerability.\n\n### Recommendation\nUpgrade to Stripe CLI v1.7.13.\n\n### Acknowledgments\nThanks to [trungpabc](https://hackerone.com/trungpabc) for reporting the issue.\n\n### For more information\nEmail us at [security@stripe.com](mailto:security@stripe.com).\n","aliases":["CVE-2022-24753","GO-2022-0350"],"modified":"2024-08-21T14:57:39.279271Z","published":"2022-03-10T18:17:50Z","database_specific":{"github_reviewed_at":"2022-03-10T18:17:50Z","nvd_published_at":"2022-03-09T23:15:00Z","cwe_ids":["CWE-78"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/stripe/stripe-cli/security/advisories/GHSA-4cx6-fj7j-pjx9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24753"},{"type":"WEB","url":"https://github.com/stripe/stripe-cli/commit/be38da5c0191adb77f661f769ffff2fbc7ddf6cd"},{"type":"PACKAGE","url":"https://github.com/stripe/stripe-cli"}],"affected":[{"package":{"name":"github.com/stripe/stripe-cli","ecosystem":"Go","purl":"pkg:golang/github.com/stripe/stripe-cli"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-4cx6-fj7j-pjx9/GHSA-4cx6-fj7j-pjx9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}