Improper Input Validation Affecting git/git package, versions [,2.20.0)[2.21.0,2.21.1)[2.22.0,2.22.2)[2.23.0,2.23.1)[2.24.0,2.24.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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 IDSNYK-UNMANAGED-GITGIT-2372009
  • published26 Jan 2022
  • disclosed11 Dec 2019
  • creditUnknown

Introduced: 11 Dec 2019

CVE-2019-19604  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade git/git to version 2.20.0, 2.21.1, 2.22.2, 2.23.1, 2.24.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before 2.23.1, and 2.24.x before 2.24.1 because a "git submodule update" operation can run commands found in the .gitmodules file of a malicious repository.

References

CVSS Scores

version 3.1