Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Affecting gitoxide package, versions <0.36.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th 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-RUST-GITOXIDE-7066603
  • published 23 May 2024
  • disclosed 22 May 2024
  • credit EliahKagan

How to fix?

Upgrade gitoxide to version 0.36.0 or higher.

Overview

gitoxide is a command-line application for interacting with git repositories

Affected versions of this package are vulnerable to Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') during the checkout process. An attacker can execute arbitrary code by cloning a specially crafted repository that places files outside the working tree.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High