Project

General

Profile

Bug #9711

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

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

Added by Alicha CH about 2 months ago. Updated about 2 months ago.

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

100%

Estimated time:
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

Associated revisions

Revision 1ca69220 (diff)
Added by Natanael Copa about 2 months ago

main/git: security fix (CVE-2018-19486)

fixes #9711

History

#1 Updated by Natanael Copa about 2 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Alicha CH about 2 months ago

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

Also available in: Atom PDF