CVE-2019-1348 json
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.
published 2020-01-24 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-9906
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- git-scm git 2.14.6, 2.15.4, 2.16.6, 2.17.3, 2.18.2, 2.19.3, 2.20.2, 2.21.1, 2.22.2, 2.23.1, 2.24.1
- git Debian 14, Debian 13, Debian 12 1:2.24.0-2
debian advisories DEBIAN-CVE-2019-1348
- git Ubuntu 16.04 LTS 1:2.7.4-0ubuntu1.7
- git Ubuntu 18.04 LTS 1:2.17.1-1ubuntu0.5
ubuntu advisories UBUNTU-CVE-2019-1348
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-git218-git RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-gitk RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-git-p4 RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-gitweb RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-git-all RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-git-cvs RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-git-gui RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
- rh-git218-git-svn RHEL 3 SOFTWARE_COLLECTIONS 2.18.2-1.el7
red hat advisories RHSA-2020:0002RHSA-2020:0228RHSA-2019:4356
- git SLE Module for Development Tools 15 SP1, SLE Module for Basesystem 15 SP1 2.26.1-3.25.2
- git SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15, SLE Module for Basesystem 15 SP1 +1 more 2.16.4-3.17.2
- perl-Authen-SASL SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15 2.16-1.3.1
- perl-Net-SMTP-SSL SLE Module for Development Tools 15 SP1, SLE Module for Development Tools 15 1.04-1.3.1
- git SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +14 more 2.12.3-27.22.1
suse advisories SUSE-SU-2020:1121-1SUSE-SU-2020:0045-1SUSE-SU-2019:3311-1
- git openSUSE Tumbleweed 2.33.0-1.3
- libgit2 openSUSE Tumbleweed 1.1.1-1.2
- git openSUSE Leap 15.1 2.26.1-lp151.4.9.1
- git openSUSE Leap 15.1 2.16.4-lp151.4.3.1
- perl-Authen-SASL openSUSE Leap 15.1 2.16-lp151.3.3.1
- perl-Net-SMTP-SSL openSUSE Leap 15.1 1.04-lp151.3.3.1
opensuse advisories openSUSE-SU-2024:10786-1openSUSE-SU-2024:10943-1openSUSE-SU-2020:0598-1openSUSE-SU-2020:0123-1
- git Alpine 3.10 2.22.2-r0
- git Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 2.24.1-r0
- git Alpine 3.7 2.15.4-r0
- git Alpine 3.8 2.18.2-r0
- git Alpine 3.9 2.20.2-r0
- libgit2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 0.28.4-r0
- libgit2-1.0 Alpine 3.14, Alpine 3.13 0.28.4-r0
- libgit2-1.1 Alpine 3.16, Alpine 3.15 0.28.4-r0
alpine advisories ALPINE-CVE-2019-1348
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-1348 updated cvss 3.3
git: Arbitrary path overwriting via export-marks in-stream command feature
-
Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 more Red Hat Enterprise Linux 7 git, gitk, git-hg, git-p4, gitweb, git-all, +12 moreaffected: workaround, no fix planned “Avoid running `git fast-import` on untrusted input.”
-
Red Hat Enterprise Linux AppStream (v. 8) git 2.18.2-1.el8_1, gitk 2.18.2-1.el8_1, gitweb 2.18.2-1.el8_1, git-all 2.18.2-1.el8_1, git-gui 2.18.2-1.el8_1, git-svn 2.18.2-1.el8_1, +7 morefixed: vendor fix “Avoid running `git fast-import` on untrusted input.” RHSA-2019:4356
-
Red Hat Enterprise Linux AppStream E4S (v. 8.0) git 2.18.2-1.el8_0, gitk 2.18.2-1.el8_0, gitweb 2.18.2-1.el8_0, git-all 2.18.2-1.el8_0, git-gui 2.18.2-1.el8_0, git-svn 2.18.2-1.el8_0, +7 morefixed: vendor fix “Avoid running `git fast-import` on untrusted input.” RHSA-2020:0228
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git218-git 2.18.2-1.el7, rh-git218-gitk 2.18.2-1.el7, rh-git218-git-p4 2.18.2-1.el7, rh-git218-gitweb 2.18.2-1.el7, rh-git218-git-all 2.18.2-1.el7, rh-git218-git-cvs 2.18.2-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git218-git 2.18.2-1.el7, rh-git218-gitk 2.18.2-1.el7, rh-git218-git-p4 2.18.2-1.el7, rh-git218-gitweb 2.18.2-1.el7, rh-git218-git-all 2.18.2-1.el7, rh-git218-git-cvs 2.18.2-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-git218-git 2.18.2-1.el7, rh-git218-gitk 2.18.2-1.el7, rh-git218-git-p4 2.18.2-1.el7, rh-git218-gitweb 2.18.2-1.el7, rh-git218-git-all 2.18.2-1.el7, rh-git218-git-cvs 2.18.2-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-git218-git 2.18.2-1.el7, rh-git218-gitk 2.18.2-1.el7, rh-git218-git-p4 2.18.2-1.el7, rh-git218-gitweb 2.18.2-1.el7, rh-git218-git-all 2.18.2-1.el7, rh-git218-git-cvs 2.18.2-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git218-git 2.18.2-1.el7, rh-git218-gitk 2.18.2-1.el7, rh-git218-git-p4 2.18.2-1.el7, rh-git218-gitweb 2.18.2-1.el7, rh-git218-git-all 2.18.2-1.el7, rh-git218-git-cvs 2.18.2-1.el7, +9 morefixed: vendor fix “Avoid running `git fast-import` on untrusted input.” RHSA-2020:0002
-
Red Hat Fuse 7 camel-git camel-git Red Hat JBoss Fuse 6 camel-git camel-gitnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 3.6 | AV:L/AC:L/Au:N/C:N/I:P/A:P |
Affected products
- Microsoft Corporation Git
References
-
lists.opensuse.org
/opensuse-security-announce/2020-01/msg00056.html
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0228
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202003-30
vendor-advisory
-
security.gentoo.org
/glsa/202003-42
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-05/msg00003.html
vendor-advisory
- support.apple.com /kb/HT210729
- lore.kernel.org /git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u
- public-inbox.org /git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/
Sources
- CVE List CVE-2019-1348
- NVD CVE-2019-1348
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.