OS Command Injection Affecting git-core-doc package, versions <0:2.23.1-1.amzn2.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (66th 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-GITCOREDOC-1677425
  • published27 Sept 2021
  • disclosed11 Dec 2019

Introduced: 11 Dec 2019

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

How to fix?

Upgrade Amazon-Linux:2 git-core-doc to version 0:2.23.1-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2019-1371.

NVD Description

Note: Versions mentioned in the description apply only to the upstream git-core-doc package and not the git-core-doc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1