CVE-2019-1348
git: Arbitrary path overwriting via export-marks in-stream command feature
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Se encontró un problema en Git anterior a la versión 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 y v2. 14.6 La opción --export-marks de git fast-import también se expone a través de la función de comando in-stream export-marks = ... y permite sobrescribir rutas arbitrarias
A flaw was found in the git fast-import command where it provides the export-marks feature that may unexpectedly overwrite arbitrary paths. An attacker can abuse this flaw if they can control the input passed to the fast-import command by using the export-marks feature and overwrite arbitrary files, but would not have complete control on the content of the file.
Git is a distributed revision control system with a decentralized architecture. As opposed to centralized version control systems with a client-server model, Git ensures that each working copy of a Git repository is an exact copy with complete revision history. This not only allows the user to work on and contribute to projects without the need to have permission to push the changes to their official repositories, but also makes it possible for the user to work with no network connection. Issues addressed include a code execution vulnerability.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2018-11-26 CVE Reserved
- 2019-12-10 CVE Published
- 2024-08-04 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (10)
URL | Tag | Source |
---|---|---|
https://lore.kernel.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/T/#u | X_refsource_misc | |
https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com | X_refsource_misc | |
https://support.apple.com/kb/HT210729 | X_refsource_confirm |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html | 2023-11-07 | |
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html | 2023-11-07 | |
https://access.redhat.com/errata/RHSA-2020:0228 | 2023-11-07 | |
https://security.gentoo.org/glsa/202003-30 | 2023-11-07 | |
https://security.gentoo.org/glsa/202003-42 | 2023-11-07 | |
https://access.redhat.com/security/cve/CVE-2019-1348 | 2020-01-27 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1781953 | 2020-01-27 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.14.0 < 2.14.6 Search vendor "Git-scm" for product "Git" and version " >= 2.14.0 < 2.14.6" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.15.0 < 2.15.4 Search vendor "Git-scm" for product "Git" and version " >= 2.15.0 < 2.15.4" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.16.0 < 2.16.6 Search vendor "Git-scm" for product "Git" and version " >= 2.16.0 < 2.16.6" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.17.0 < 2.17.3 Search vendor "Git-scm" for product "Git" and version " >= 2.17.0 < 2.17.3" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.18.0 < 2.18.2 Search vendor "Git-scm" for product "Git" and version " >= 2.18.0 < 2.18.2" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.19.0 < 2.19.3 Search vendor "Git-scm" for product "Git" and version " >= 2.19.0 < 2.19.3" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.20.0 < 2.20.2 Search vendor "Git-scm" for product "Git" and version " >= 2.20.0 < 2.20.2" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.21.0 < 2.21.1 Search vendor "Git-scm" for product "Git" and version " >= 2.21.0 < 2.21.1" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.22.0 < 2.22.2 Search vendor "Git-scm" for product "Git" and version " >= 2.22.0 < 2.22.2" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.23.0 < 2.23.1 Search vendor "Git-scm" for product "Git" and version " >= 2.23.0 < 2.23.1" | - |
Affected
| ||||||
Git-scm Search vendor "Git-scm" | Git Search vendor "Git-scm" for product "Git" | >= 2.24.0 < 2.24.1 Search vendor "Git-scm" for product "Git" and version " >= 2.24.0 < 2.24.1" | - |
Affected
| ||||||
Opensuse Search vendor "Opensuse" | Leap Search vendor "Opensuse" for product "Leap" | 15.1 Search vendor "Opensuse" for product "Leap" and version "15.1" | - |
Affected
|