Advisory

GHSA-4cx6-fj7j-pjx9

Also known as: CVE-2022-24753, GO-2022-0350

Summary

Code injection in Stripe CLI on windows

Details

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]](mailto:[email protected]).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-03-10 18:17 UTC
Modified
2024-08-21 14:56 UTC

Affected packages and fixes

github.com/stripe/stripe-cli

Go · All systems

Affected

  • introduced 0, fixed 1.7.13 (semver)

Fixed versions

1.7.13

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences