Command Injection Affecting git/git package, versions [,2.10.5)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.7% (81st 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-UNMANAGED-GITGIT-2372004
  • published26 Jan 2022
  • disclosed29 Sept 2017
  • creditUnknown

Introduced: 29 Sep 2017

CVE-2017-14867  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.10.5 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection. Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.

References

CVSS Scores

version 3.1