Bug 1781958 (CVE-2019-1350) - CVE-2019-1350 git: Incorrect quoting of command-line arguments allowed remote code execution during a recursive clone
Summary: CVE-2019-1350 git: Incorrect quoting of command-line arguments allowed remote...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-1350
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1781959
Blocks: 1781145
TreeView+ depends on / blocked
 
Reported: 2019-12-11 00:06 UTC by Pedro Sampaio
Modified: 2019-12-17 10:51 UTC (History)
11 users (show)

Fixed In Version: git 2.24.1, git 2.23.1, git 2.22.2, git 2.21.1, git 2.20.2, git 2.19.3, git 2.18.2, git 2.17.3, git 2.16.6, git 2.15.4, git 2.14.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-17 10:47:59 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2019-12-11 00:06:12 UTC
Incorrect quoting of command-line arguments allowed remote code execution during a recursive clone in conjunction with SSH URLs.

References:

https://kernel.googlesource.com/pub/scm/git/git/+/refs/tags/v2.24.1/Documentation/RelNotes/2.14.6.txt

Comment 1 Pedro Sampaio 2019-12-11 00:06:32 UTC
Created git tracking bugs for this issue:

Affects: fedora-all [bug 1781959]

Comment 2 Riccardo Schirone 2019-12-13 16:23:32 UTC
oss-security mailing list reference:
https://www.openwall.com/lists/oss-security/2019/12/13/1

Comment 3 Riccardo Schirone 2019-12-13 16:24:15 UTC
External References:

https://github.com/git/git/security/advisories/GHSA-44fr-r2hj-3f4x

Comment 4 Riccardo Schirone 2019-12-17 10:45:42 UTC
Upstream fix:
https://github.com/git/git/commit/6d8684161ee9c03bed5cb69ae76dfdddb85a0003

Comment 5 Riccardo Schirone 2019-12-17 10:48:04 UTC
Statement:

This issue did not affect the versions of git as shipped with Red Hat Enterprise Linux 6, 7, and 8 as this is a Windows only issue and it does not affect the Linux versions of git.


Note You need to log in before you can comment on or make changes to this bug.