CVE-2019-1348
publishedgit: Arbitrary path overwriting via export-marks in-stream command feature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft Corporation | — | GitBefore 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 | Affected | Not stated | microsoft |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1371 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2818 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | git | Fixed | 2.24.1-r0 | Package fix record |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u1 | DSA-4581-1 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Alpine Linux | edge | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.10 | git | Fixed | 2.22.2-r0 | Package fix record |
| Alpine Linux | v3.11 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.11 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.12 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.12 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.13 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2-1.0 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.14 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.14 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.14 | libgit2-1.0 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.15 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2-1.1 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.16 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2-1.1 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.17 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.17 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.18 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.18 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.19 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.19 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.20 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.21 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.22 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.23 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.24.1-r0 | Package fix record |
| Alpine Linux | v3.24 | libgit2 | Fixed | 0.28.4-r0 | Package fix record |
| Alpine Linux | v3.7 | git | Fixed | 2.15.4-r0 | Package fix record |
| Alpine Linux | v3.8 | git | Fixed | 2.18.2-r0 | Package fix record |
| Alpine Linux | v3.9 | git | Fixed | 2.20.2-r0 | Package fix record |
| Debian | jessie | git | Advisory build | 1:2.1.4-2.1+deb8u8 | DLA-2059-1 |
| Debian | stretch | git | Advisory build | 1:2.11.0-3+deb9u5 | DSA-4581-1 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-allaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-allx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-coreaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-corex86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-core-docaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-core-docx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-daemonaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-daemonx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-emailaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-emailx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-guiaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-guix86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-instawebaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-instawebx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-subtreeaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-subtreex86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-svnaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | git-svnx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | gitkaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | gitkx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | gitwebaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | gitwebx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | perl-Gitaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | perl-Gitx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | perl-Git-SVNaarch64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Oracle Linux | 8 | perl-Git-SVNx86_64 | Advisory build | 0:2.18.2-1.el8_1 | ELSA-2019-4356 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gits390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitsrc | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitx86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-allnoarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-coreaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-coreppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-cores390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-corex86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-core-docnoarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-cvsnoarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemons390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonx86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfoaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfoppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfos390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfox86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-emailnoarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-guinoarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebs390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebx86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-p4noarch | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreeaarch64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreeppc64le | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtrees390x | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreex86_64 | Advisory build | 2.18.2-1.el7 | RHSA-2020:0002 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft Corporation | Git | 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 (affected) | microsoft · cna |
Weaknesses
1- Remote Code Execution
References
8- openSUSE-SU-2020:0123 http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html
- openSUSE-SU-2020:0598 http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
- RHSA-2020:0228 https://access.redhat.com/errata/RHSA-2020:0228
- https://lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u
- https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/
- GLSA-202003-30 https://security.gentoo.org/glsa/202003-30
- GLSA-202003-42 https://security.gentoo.org/glsa/202003-42
- https://support.apple.com/kb/HT210729
Provider assertions
2microsoft · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d8da60ec8024b372835110f7840873871d67396f454f7cb9d7c7a84f13ef83a2
- Ingested
- 23 Sep 2026, 07:46:36 UTC
- Source record
- Official CVE record