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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (12th 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 ID SNYK-GOLANG-GITHUBCOMSTRIPESTRIPECLIPKGPLUGINS-7922476
  • published 6 Sep 2024
  • disclosed 5 Sep 2024
  • credit Unknown

How to fix?

Upgrade github.com/stripe/stripe-cli/pkg/plugins 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
Expand this section

Snyk

Recommended
6 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    High
  • Integrity (SI)
    High
  • Availability (SA)
    Low