Command Injection Affecting gitlog package, versions >=3.3.0 <4.0.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
30.07% (97th 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 Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GITLOG-1070779
  • published9 Feb 2021
  • disclosed9 Feb 2021
  • creditRon Masas, Checkmarx

Introduced: 9 Feb 2021

CVE-2021-26541  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade gitlog to version 4.0.4 or higher.

Overview

gitlog is a Git log parser for Node.JS

Affected versions of this package are vulnerable to Command Injection via the gitlog function in src/index.ts.

CVSS Scores

version 3.1