git: Arbitrary path overwriting via export-marks in-stream command feature
Published Jan 24, 2020
3.3
LOWCVSS 3.1
EPSS 0.43%
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
-
- Version 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.6StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Microsoft Corporation | Git | n/a |
|
Configuration 1
- ≥ 2.14.0 · < 2.14.6
- ≥ 2.15.0 · < 2.15.4
- ≥ 2.16.0 · < 2.16.6
- ≥ 2.17.0 · < 2.17.3
- ≥ 2.18.0 · < 2.18.2
- ≥ 2.19.0 · < 2.19.3
- ≥ 2.20.0 · < 2.20.2
- ≥ 2.21.0 · < 2.21.1
- ≥ 2.22.0 · < 2.22.2
- ≥ 2.23.0 · < 2.23.1
- ≥ 2.24.0 · < 2.24.1
No data.
Red Hat Enterprise Linux 8
git-0:2.18.2-1.el8_1
Fixed · RHSA-2019:4356
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions
git-0:2.18.2-1.el8_0
Fixed · RHSA-2020:0228
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Enterprise Linux 6
git
Out of support scope
Red Hat Enterprise Linux 7
git
Will not fix
Red Hat Fuse 7
camel-git
Not affected
Red Hat JBoss Fuse 6
camel-git
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | git-0:2.18.2-1.el8_1 | Fixed | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | git-0:2.18.2-1.el8_0 | Fixed | RHSA-2020:0228 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Enterprise Linux 6 | git | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | git | Will not fix | n/a |
| Red Hat Fuse 7 | camel-git | Not affected | n/a |
| Red Hat JBoss Fuse 6 | camel-git | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Avoid running `git fast-import` on untrusted input.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
AV:L/AC:L/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.43% (0.00427) | 34.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.43% (0.00427) | 33.90th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00040) | 9.31th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.05% (0.00047) | 19.21th | v3 (v2023.03.01) |
| May 8, 2024 | 0.05% (0.00047) | 16.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00047) | 14.21th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.10% (0.01104) | 52.45th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.10% (0.01104) | 50.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.41% (0.04411) | 70.76th | v2 (v2022.01.01) |
| Feb 3, 2022 | 7.85% (0.07855) | 85.01th | v1 |
| Jan 6, 2022 | 7.85% (0.07855) | 84.84th | v1 |
| Sep 1, 2021 | 1.86% (0.01865) | 76.13th | v1 |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2020:0228 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-1348 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1781953 Issue Tracking
- https://github.com/git/git/security/advisories/GHSA-2pw3-gwg9-8pqr
- https://lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-1348
- https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/ x_refsource_MISC
- https://security.gentoo.org/glsa/202003-30 vendor-advisoryx_refsource_GENTOO
- https://security.gentoo.org/glsa/202003-42 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/kb/HT210729 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2019-1348
Change history (0)
No recorded changes yet.