Untrusted Search Path Affecting git-core-doc package, versions <0:2.17.2-2.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.01% (90th 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-AMZN2-GITCOREDOC-1667717
  • published27 Sept 2021
  • disclosed23 Nov 2018

Introduced: 23 Nov 2018

CVE-2018-19486  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 git-core-doc to version 0:2.17.2-2.amzn2 or higher.
This issue was patched in ALAS2-2018-1136.

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.

Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.