Command Injection Affecting last-commit-log package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

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-LASTCOMMITLOG-1047325
  • published 29 Nov 2020
  • disclosed 29 Nov 2020
  • credit bilk0h

Introduced: 29 Nov 2020

CVE NOT AVAILABLE CWE-58 Open this link in a new tab

How to fix?

There is no fixed version for last-commit-log.

Overview

last-commit-log is a Node.js module to get the last git commit information - mostly to be used by CI/CD and building phase

Affected versions of this package are vulnerable to Command Injection via the GIT_DIR env variable.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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