Advisory

GHSA-fv4g-gwpj-74gr

Also known as: CVE-2024-45401, GO-2024-3119

Summary

Path traversal vulnerability in stripe-cli

Details

Impact
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.

Recommendation
Upgrade to stripe-cli v1.21.3.

Acknowledgements
Thank you to 0xacb and bordiez for reporting this vulnerability.

For more information
Email us at [[email protected]](mailto:[email protected])

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-09-05 16:40 UTC
Modified
2024-11-18 16:27 UTC

Affected packages and fixes

github.com/stripe/stripe-cli

Go · All systems

Affected

  • introduced 1.11.1, fixed 1.21.3 (semver)

Fixed versions

1.21.3

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