CVE-2019-1348
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.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | git | Fixed | 1:2.17.1-1ubuntu0.5 | UBUNTU-CVE-2019-1348 |
| Ubuntu 16.04 | git | Fixed | 1:2.7.4-0ubuntu1.7 | UBUNTU-CVE-2019-1348 |
| Debian 14 | git | Fixed | 1:2.24.0-2 | DEBIAN-CVE-2019-1348 |
| Debian 13 | git | Fixed | 1:2.24.0-2 | DEBIAN-CVE-2019-1348 |
| Debian 12 | git | Fixed | 1:2.24.0-2 | DEBIAN-CVE-2019-1348 |
| Red Hat Enterprise Linux 8 | git | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-all | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-core | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-core-doc | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-daemon | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-email | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-gui | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-instaweb | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-subtree | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | git-svn | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | gitk | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | gitweb | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | perl-Git | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8 | perl-Git-SVN | Fixed | 0:2.18.2-1.el8_1 | RHSA-2019:4356 |
| Red Hat Enterprise Linux 7 | emacs-git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | emacs-git-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-all | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-bzr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-cvs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-daemon | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-email | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gnome-keyring | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-gui | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-hg | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-instaweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-p4 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | git-svn | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | gitweb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | perl-Git-SVN | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-git | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | emacs-git-el | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-all | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-cvs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-daemon | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-email | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-gui | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | git-svn | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gitk | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gitweb | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | perl-Git | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.24 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.23 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.23 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.22 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.22 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.21 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.21 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.20 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.20 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.19 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.19 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.18 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.18 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.17 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.17 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.16 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.16 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.16 | libgit2-1.1 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.15 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.15 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.15 | libgit2-1.1 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.14 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.14 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.14 | libgit2-1.0 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.13 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.13 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.13 | libgit2-1.0 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.12 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.12 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.11 | git | Fixed | 2.24.1-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.11 | libgit2 | Fixed | 0.28.4-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.10 | git | Fixed | 2.22.2-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.9 | git | Fixed | 2.20.2-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.8 | git | Fixed | 2.18.2-r0 | ALPINE-CVE-2019-1348 |
| Alpine Linux 3.7 | git | Fixed | 2.15.4-r0 | ALPINE-CVE-2019-1348 |
What the vendor says
As published in the CVE record by microsoft, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Microsoft Corporation Git: affected: 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
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2020:0228 (vendor-advisory)
- https://security.gentoo.org/glsa/202003-30 (vendor-advisory)
- https://security.gentoo.org/glsa/202003-42 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html (vendor-advisory)
References
- https://support.apple.com/kb/HT210729
- 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/
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html
- https://access.redhat.com/errata/RHSA-2020:0228
- https://security.gentoo.org/glsa/202003-30
- https://security.gentoo.org/glsa/202003-42
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.