Unrated severityNVD Advisory· Published Jan 24, 2020· Updated Aug 4, 2024
CVE-2019-1348
CVE-2019-1348
Description
An issue was found in Git before v2.24.1, v2.23.1, v2.22.2, v2.21.1, v2.20.2, v2.19.3, v2.18.2, v2.17.3, v2.16.6, v2.15.4, and v2.14.6. The --export-marks option of git fast-import is exposed also via the in-stream command feature export-marks=... and it allows overwriting arbitrary paths.
Affected products
31- osv-coords30 versionspkg:rpm/opensuse/git&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/git&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/libgit2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/perl-Authen-SASL&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/perl-Net-SMTP-SSL&distro=openSUSE%20Leap%2015.1pkg:rpm/suse/git&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/git&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP1pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4pkg:rpm/suse/git&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/git&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/git&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/perl-Authen-SASL&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/perl-Authen-SASL&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP1pkg:rpm/suse/perl-Net-SMTP-SSL&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/perl-Net-SMTP-SSL&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP1
< 2.16.4-lp151.4.3.1+ 29 more
- (no CPE)range: < 2.16.4-lp151.4.3.1
- (no CPE)range: < 2.33.0-1.3
- (no CPE)range: < 1.1.1-1.2
- (no CPE)range: < 2.16-lp151.3.3.1
- (no CPE)range: < 1.04-lp151.3.3.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.16.4-3.17.2
- (no CPE)range: < 2.16.4-3.17.2
- (no CPE)range: < 2.16.4-3.17.2
- (no CPE)range: < 2.16.4-3.17.2
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.12.3-27.22.1
- (no CPE)range: < 2.16-1.3.1
- (no CPE)range: < 2.16-1.3.1
- (no CPE)range: < 1.04-1.3.1
- (no CPE)range: < 1.04-1.3.1
- Microsoft Corporation/Gitv5Range: Before 2.24.1, 2.23.1, 2.22.2, 2.21.1, 2.20.2, 2.19.3, 2.18.2, 2.17.3, 2.16.6, 2.15.4, 2.14.6
Patches
113 files changed · +10 −2
Documentation/RelNotes/2.24.1.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.24.1 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4, +v2.17.3, v2.20.2 and in v2.21.1, addressing the security issues +CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, +CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and +CVE-2019-19604; see the release notes for those versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.24.0 +DEF_VER=v2.24.1 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.24.0.txt \ No newline at end of file +Documentation/RelNotes/2.24.1.txt \ No newline at end of file
3 files changed · +10 −2
Documentation/RelNotes/2.23.1.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.23.1 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4, +v2.17.3, v2.20.2 and in v2.21.1, addressing the security issues +CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, +CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and +CVE-2019-19604; see the release notes for those versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.23.0 +DEF_VER=v2.23.1 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.23.0.txt \ No newline at end of file +Documentation/RelNotes/2.23.1.txt \ No newline at end of file
3 files changed · +10 −2
Documentation/RelNotes/2.22.2.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.22.2 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4, +v2.17.3, v2.20.2 and in v2.21.1, addressing the security issues +CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, +CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and +CVE-2019-19604; see the release notes for those versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.22.1 +DEF_VER=v2.22.2 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.22.1.txt \ No newline at end of file +Documentation/RelNotes/2.22.2.txt \ No newline at end of file
3 files changed · +14 −2
Documentation/RelNotes/2.21.1.txt+12 −0 added@@ -0,0 +1,12 @@ +Git v2.21.1 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4, +v2.17.3 and in v2.20.2, addressing the security issues CVE-2019-1348, +CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, +CVE-2019-1353, CVE-2019-1354, CVE-2019-1387, and CVE-2019-19604; +see the release notes for those versions for details. + +Additionally, this version also includes a couple of fixes for the +Windows-specific quoting of command-line arguments when Git executes +a Unix shell on Windows.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.21.0 +DEF_VER=v2.21.1 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.21.0.txt \ No newline at end of file +Documentation/RelNotes/2.21.1.txt \ No newline at end of file
3 files changed · +20 −2
Documentation/RelNotes/2.20.2.txt+18 −0 added@@ -0,0 +1,18 @@ +Git v2.20.2 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4 +and in v2.17.3, addressing the security issues CVE-2019-1348, +CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, +CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387; see the release notes +for those versions for details. + +The change to disallow `submodule.<name>.update=!command` entries in +`.gitmodules` which was introduced v2.15.4 (and for which v2.17.3 +added explicit fsck checks) fixes the vulnerability in v2.20.x where a +recursive clone followed by a submodule update could execute code +contained within the repository without the user explicitly having +asked for that (CVE-2019-19604). + +Credit for finding this vulnerability goes to Joern Schneeweisz, +credit for the fixes goes to Jonathan Nieder.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.20.1 +DEF_VER=v2.20.2 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.20.1.txt \ No newline at end of file +Documentation/RelNotes/2.20.2.txt \ No newline at end of file
3 files changed · +10 −2
Documentation/RelNotes/2.19.3.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.19.3 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4 +and in v2.17.3, addressing the security issues CVE-2019-1348, +CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, +CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387; see the release notes +for those versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.19.2 +DEF_VER=v2.19.3 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.19.2.txt \ No newline at end of file +Documentation/RelNotes/2.19.3.txt \ No newline at end of file
3 files changed · +10 −2
Documentation/RelNotes/2.18.2.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.18.2 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6, v2.15.4 +and in v2.17.3, addressing the security issues CVE-2019-1348, +CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, +CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387; see the release notes +for those versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.18.1 +DEF_VER=v2.18.2 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.18.1.txt \ No newline at end of file +Documentation/RelNotes/2.18.2.txt \ No newline at end of file
3 files changed · +14 −2
Documentation/RelNotes/2.17.3.txt+12 −0 added@@ -0,0 +1,12 @@ +Git v2.17.3 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6 and in +v2.15.4 addressing the security issues CVE-2019-1348, CVE-2019-1349, +CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, CVE-2019-1353, +CVE-2019-1354, and CVE-2019-1387; see the release notes for those +versions for details. + +In addition, `git fsck` was taught to identify `.gitmodules` entries +of the form `submodule.<name>.update=!command`, which have been +disallowed in v2.15.4.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.17.2 +DEF_VER=v2.17.3 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.17.2.txt \ No newline at end of file +Documentation/RelNotes/2.17.3.txt \ No newline at end of file
3 files changed · +10 −2
Documentation/RelNotes/2.16.6.txt+8 −0 added@@ -0,0 +1,8 @@ +Git v2.16.6 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6 and in +v2.15.4 addressing the security issues CVE-2019-1348, CVE-2019-1349, +CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, CVE-2019-1353, +CVE-2019-1354, and CVE-2019-1387; see the release notes for those +versions for details.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.16.5 +DEF_VER=v2.16.6 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.16.5.txt \ No newline at end of file +Documentation/RelNotes/2.16.6.txt \ No newline at end of file
3 files changed · +13 −2
Documentation/RelNotes/2.15.4.txt+11 −0 added@@ -0,0 +1,11 @@ +Git v2.15.4 Release Notes +========================= + +This release merges up the fixes that appear in v2.14.6 to address +the security issues CVE-2019-1348, CVE-2019-1349, CVE-2019-1350, +CVE-2019-1351, CVE-2019-1352, CVE-2019-1353, CVE-2019-1354, and +CVE-2019-1387; see the release notes for that version for details. + +In conjunction with a vulnerability that was fixed in v2.20.2, +`.gitmodules` is no longer allowed to contain entries of the form +`submodule.<name>.update=!command`.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.15.3 +DEF_VER=v2.15.4 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.15.3.txt \ No newline at end of file +Documentation/RelNotes/2.15.4.txt \ No newline at end of file
3 files changed · +56 −2
Documentation/RelNotes/2.14.6.txt+54 −0 added@@ -0,0 +1,54 @@ +Git v2.14.6 Release Notes +========================= + +This release addresses the security issues CVE-2019-1348, +CVE-2019-1349, CVE-2019-1350, CVE-2019-1351, CVE-2019-1352, +CVE-2019-1353, CVE-2019-1354, and CVE-2019-1387. + +Fixes since v2.14.5 +------------------- + + * CVE-2019-1348: + The --export-marks option of git fast-import is exposed also via + the in-stream command feature export-marks=... and it allows + overwriting arbitrary paths. + + * CVE-2019-1349: + When submodules are cloned recursively, under certain circumstances + Git could be fooled into using the same Git directory twice. We now + require the directory to be empty. + + * CVE-2019-1350: + Incorrect quoting of command-line arguments allowed remote code + execution during a recursive clone in conjunction with SSH URLs. + + * CVE-2019-1351: + While the only permitted drive letters for physical drives on + Windows are letters of the US-English alphabet, this restriction + does not apply to virtual drives assigned via subst <letter>: + <path>. Git mistook such paths for relative paths, allowing writing + outside of the worktree while cloning. + + * CVE-2019-1352: + Git was unaware of NTFS Alternate Data Streams, allowing files + inside the .git/ directory to be overwritten during a clone. + + * CVE-2019-1353: + When running Git in the Windows Subsystem for Linux (also known as + "WSL") while accessing a working directory on a regular Windows + drive, none of the NTFS protections were active. + + * CVE-2019-1354: + Filenames on Linux/Unix can contain backslashes. On Windows, + backslashes are directory separators. Git did not use to refuse to + write out tracked files with such filenames. + + * CVE-2019-1387: + Recursive clones are currently affected by a vulnerability that is + caused by too-lax validation of submodule names, allowing very + targeted attacks via remote code execution in recursive clones. + +Credit for finding these vulnerabilities goes to Microsoft Security +Response Center, in particular to Nicolas Joly. The `fast-import` +fixes were provided by Jeff King, the other fixes by Johannes +Schindelin with help from Garima Singh.
GIT-VERSION-GEN+1 −1 modified@@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v2.14.5 +DEF_VER=v2.14.6 LF=' '
RelNotes+1 −1 modified@@ -1 +1 @@ -Documentation/RelNotes/2.14.5.txt \ No newline at end of file +Documentation/RelNotes/2.14.6.txt \ No newline at end of file
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.htmlmitrevendor-advisoryx_refsource_SUSE
- access.redhat.com/errata/RHSA-2020:0228mitrevendor-advisoryx_refsource_REDHAT
- security.gentoo.org/glsa/202003-30mitrevendor-advisoryx_refsource_GENTOO
- security.gentoo.org/glsa/202003-42mitrevendor-advisoryx_refsource_GENTOO
- lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/mitrex_refsource_MISC
- public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/mitrex_refsource_MISC
- support.apple.com/kb/HT210729mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.