Command Injection Affecting git-archive package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    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 ID SNYK-JS-GITARCHIVE-1050391
  • published 20 Jan 2021
  • disclosed 11 Dec 2020
  • credit JHU System Security Lab

How to fix?

There is no fixed version for git-archive.

Overview

git-archive is a module to take a bare git repo, archive it, and export it as a tarball to a given path

Affected versions of this package are vulnerable to Command Injection via the exports function.

CVSS Scores

version 3.1
Expand this section

Snyk

6.4 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

NVD

7.8 high