Git-Scm Git vulnerabilities

41 known vulnerabilities affecting git-scm/git.

Total CVEs
41
CISA KEV
1
actively exploited
Public exploits
4
Exploited in wild
0
Severity breakdown
CRITICAL8HIGH25MEDIUM6LOW2

Vulnerabilities

Page 2 of 3
CVE-2020-5260HIGHCVSS 7.5≥ 2.18.0, < 2.18.3≥ 2.19.0, < 2.19.4+6 more2020-04-14
CVE-2020-5260 [CRITICAL] CWE-20 CVE-2020-5260: Affected versions of Git have a vulnerability whereby Git can be tricked into sending private creden Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that contain an encoded newline
nvd
CVE-2014-9390CRITICALCVSS 9.8PoCfixed in 1.8.5.6≥ 1.9.0, < 1.9.5+3 more2020-02-12
CVE-2014-9390 [CRITICAL] CWE-20 CVE-2014-9390: Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2 Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allo
nvd
CVE-2019-1353CRITICALCVSS 9.8≥ 2.14.0, < 2.14.6≥ 2.15.0, < 2.15.4+9 more2020-01-24
CVE-2019-1353 [CRITICAL] CVE-2019-1353: 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.1 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. When running Git in the Windows Subsystem for Linux (also known as "WSL") while accessing a working directory on a regular Windows drive, none of the NTFS protections were active.
nvd
CVE-2019-1348LOWCVSS 3.3≥ 2.14.0, < 2.14.6≥ 2.15.0, < 2.15.4+9 more2020-01-24
CVE-2019-1348 [LOW] 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.1 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.
nvd
CVE-2019-1387HIGHCVSS 8.8≥ 2.14.0, < 2.14.6≥ 2.15.0, < 2.15.4+9 more2019-12-18
CVE-2019-1387 [HIGH] CVE-2019-1387: 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.1 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.
nvd
CVE-2019-19604HIGHCVSS 7.8fixed in 2.20.0≥ 2.21.0, < 2.21.1+3 more2019-12-11
CVE-2019-19604 [HIGH] CWE-78 CVE-2019-19604: Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2. Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before 2.23.1, and 2.24.x before 2.24.1 because a "git submodule update" operation can run commands found in the .gitmodules file of a malicious repository.
nvd
CVE-2018-19486CRITICALCVSS 9.8fixed in 2.19.22018-11-23
CVE-2018-19486 [CRITICAL] CWE-426 CVE-2018-19486: Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.
nvd
CVE-2018-17456CRITICALCVSS 9.8PoC≥ 2.14.0, < 2.14.5≥ 2.15.0, < 2.15.3+4 more2018-10-06
CVE-2018-17456 [CRITICAL] CWE-88 CVE-2018-17456: Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2 Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.
nvd
CVE-2018-11235HIGHCVSS 7.8≤ 2.13.6≥ 2.14.0, ≤ 2.14.3+3 more2018-05-30
CVE-2018-11235 [HIGH] CWE-22 CVE-2018-11235: In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x b In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then ap
nvd
CVE-2018-11233HIGHCVSS 7.5≤ 2.13.6≥ 2.14.0, ≤ 2.14.3+3 more2018-05-30
CVE-2018-11233 [HIGH] CWE-125 CVE-2018-11233: In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x b In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, code to sanity-check pathnames on NTFS can result in reading out-of-bounds memory.
nvd
CVE-2018-1000021MEDIUMCVSS 5.0≤ 2.15.12018-02-09
CVE-2018-1000021 [MEDIUM] CWE-20 CVE-2018-1000021: GIT version 2.15.1 and earlier contains a Input Validation Error vulnerability in Client that can re GIT version 2.15.1 and earlier contains a Input Validation Error vulnerability in Client that can result in problems including messing up terminal configuration to RCE. This attack appear to be exploitable via The user must interact with a malicious git server, (or have their traffic modified in a MITM attack).
nvd
CVE-2017-15298MEDIUMCVSS 5.5≤ 2.14.22017-10-14
CVE-2017-15298 [MEDIUM] CWE-400 CVE-2017-15298: Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a denia Git through 2.14.2 mishandles layers of tree objects, which allows remote attackers to cause a denial of service (memory consumption) via a crafted repository, aka a Git bomb. This can also have an impact of disk consumption; however, an affected process typically would not survive its attempt to build the data structure in memory before writing to
nvd
CVE-2017-1000117HIGHCVSS 8.8PoC≤ 2.7.5v2.8.0+27 more2017-10-05
CVE-2017-1000117 [HIGH] CWE-601 CVE-2017-1000117: A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-
nvd
CVE-2017-14867HIGHCVSS 8.8≤ 2.10.4v2.11.0+16 more2017-09-29
CVE-2017-14867 [HIGH] CWE-78 CVE-2017-14867: Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x befo Git before 2.10.5, 2.11.x before 2.11.4, 2.12.x before 2.12.5, 2.13.x before 2.13.6, and 2.14.x before 2.14.2 uses unsafe Perl scripts to support subcommands such as cvsserver, which allows attackers to execute arbitrary OS commands via shell metacharacters in a module name. The vulnerable code is reachable via git-shell even without CVS support.
nvd
CVE-2014-9938HIGHCVSS 8.8fixed in 1.9.32017-03-20
CVE-2014-9938 [HIGH] CWE-116 CVE-2014-9938: contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 varia contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.
nvd
CVE-2016-2324CRITICALCVSS 9.8≤ 2.7.32016-04-08
CVE-2016-2324 [CRITICAL] CWE-119 CVE-2016-2324: Integer overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) lon Integer overflow in Git before 2.7.4 allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, which triggers a heap-based buffer overflow.
nvd
CVE-2016-2315CRITICALCVSS 9.8v2.7.32016-04-08
CVE-2016-2315 [CRITICAL] CWE-119 CVE-2016-2315: revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to revision.c in git before 2.7.4 uses an incorrect integer data type, which allows remote attackers to execute arbitrary code via a (1) long filename or (2) many nested trees, leading to a heap-based buffer overflow.
nvd
CVE-2013-0308MEDIUMCVSS 4.3≤ 1.8.1.32013-03-08
CVE-2013-0308 [MEDIUM] CWE-20 CVE-2013-0308: The imap-send command in GIT before 1.8.1.4 does not verify that the server hostname matches a domai The imap-send command in GIT before 1.8.1.4 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
nvd
CVE-2010-3906MEDIUMCVSS 4.3PoC≤ 1.7.3.3v0.01+6 more2010-12-17
CVE-2010-3906 [MEDIUM] CWE-79 CVE-2010-3906: Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to in Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) f and (2) fp parameters.
nvd
CVE-2010-2542HIGHCVSS 7.5fixed in 1.7.2.12010-08-11
CVE-2010-2542 [HIGH] CWE-787 CVE-2010-2542: Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a long gitdir: field in a .git file in a working copy.
nvd