Arbitrary Code Execution Affecting git/git package, versions [2.14.0,2.14.6)[2.15.0,2.15.4)[2.16.0,2.16.6)[2.17.0,2.17.3)[2.18.0,2.18.2)[2.19.0,2.19.3)[2.20.0,2.20.2)[2.22.0,2.22.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
10.92% (96th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GITGIT-2372003
  • published26 Jan 2022
  • disclosed18 Dec 2019
  • creditUnknown

Introduced: 18 Dec 2019

CVE-2019-1387  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.14.6, 2.15.4, 2.16.6, 2.17.3, 2.18.2, 2.19.3, 2.20.2, 2.22.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. Recursive clones are currently affected by a vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones.

CVSS Scores

version 3.1