CVE-2019-1387Improper Input Validation in GIT

Severity
8.8HIGHNVD
EPSS
2.2%
top 15.65%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 18
Latest updateMay 24

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. Recursive clones are currently affected by a vulnerability that is caused by too-lax validation of submodule names, allowing very targeted attacks via remote code execution in recursive clones.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages3 packages

NVDgit-scm/git2.14.02.14.6+10
Debiangit/git< 1:2.30.2-1+deb11u3+3
CVEListV5microsoft_corporation/git11 versions+10

🔴Vulnerability Details

3
GHSA
GHSA-9mhc-h3vf-83fw: An issue was found in Git before v22022-05-24
CVEList
CVE-2019-1387: An issue was found in Git before v22019-12-18
OSV
CVE-2019-1387: An issue was found in Git before v22019-12-18

📋Vendor Advisories

8
Microsoft
Git for Visual Studio Remote Code Execution Vulnerability2019-12-10
Red Hat
git: Remote code execution in recursive clones with nested submodules2019-12-10
Ubuntu
Git vulnerabilities2019-12-10
Red Hat
git: Files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams2019-12-10
Red Hat
git: Git does not refuse to write out tracked files with backlashes in filenames2019-12-10

💬Community

5
Bugzilla
CVE-2019-1387 libgit2: git: Remote code execution in recursive clones with nested submodules [epel-6]2019-12-17
Bugzilla
CVE-2019-1387 libgit2: git: Remote code execution in recursive clones with nested submodules [fedora-all]2019-12-17
Bugzilla
CVE-2019-1387 libgit2-glib: git: Remote code execution in recursive clones with nested submodules [fedora-all]2019-12-17
Bugzilla
CVE-2019-1387 git: remote code execution in recursive clones with nested submodules [fedora-all]2019-12-11
Bugzilla
CVE-2019-1387 git: Remote code execution in recursive clones with nested submodules2019-12-09
CVE-2019-1387 — Improper Input Validation in GIT | cvebase