Path Traversal Affecting github.com/stripe/stripe-cli/pkg/cmd/plugin package, versions >=1.11.1 <1.21.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSTRIPESTRIPECLIPKGCMDPLUGIN-7922475
  • published6 Sept 2024
  • disclosed5 Sept 2024
  • creditUnknown

Introduced: 5 Sep 2024

CVE-2024-45401  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade github.com/stripe/stripe-cli/pkg/cmd/plugin to version 1.21.3 or higher.

Overview

Affected versions of this package are vulnerable to Path Traversal via the plugin installation process using the --archive-url or --archive-path flags. An attacker can overwrite arbitrary files by installing a plugin package with a malformed plugin shortname.

References

CVSS Scores

version 4.0
version 3.1