Project

General

Profile

Bug #9710

git: Improper handling of PATH allows for commands to executed from current directory (CVE-2018-19486)

Added by Alicha CH 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
-
Start date:
11/29/2018
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Affected versions:
Security IDs:
CVE-2018-19486

Description

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.

Fixed In Version:

git 2.19.2

References:

https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt
https://nvd.nist.gov/vuln/detail/CVE-2018-19486

Patch:

Fixed by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60
Introduced by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=e3a434468fecca7c14a6bef32050dfa60534fde6


Subtasks

Bug #9711: [3.8] git: Improper handling of PATH allows for commands to executed from current directory (CVE-2018-19486)ClosedNatanael Copa

Bug #9712: [3.7] git: Improper handling of PATH allows for commands to executed from current directory (CVE-2018-19486)ClosedNatanael Copa

Bug #9713: [3.6] git: Improper handling of PATH allows for commands to executed from current directory (CVE-2018-19486)ClosedNatanael Copa

History

#1 Updated by Alicha CH 6 months ago

  • Project changed from Alpine Security to Alpine Linux
  • Category set to Security
  • Status changed from New to Closed

Also available in: Atom PDF