This CPE summary could be partial or incomplete. Please contact us for a detailed listing.

Summary

Detail
Vendor Git First view 2009-01-13
Product Git Last view 2020-04-21
Version 1.5.2.1 Type Application
Update *  
Edition *  
Language *  
Sofware Edition *  
Target Software *  
Target Hardware *  
Other *  
 
CPE Product cpe:2.3:a:git:git

Activity : Overall

Related : CVE

  Date Alert Description
7.5 2020-04-21 CVE-2020-11008

Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). 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 are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. The vulnerability can be triggered by feeding a malicious URL to `git clone`. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability.

7.5 2020-04-14 CVE-2020-5260

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 can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to the latter. There are no restrictions on the relationship between the two, meaning that an attacker can craft a URL that will present stored credentials for any host to a host of their choosing. The vulnerability can be triggered by feeding a malicious URL to git clone. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The problem has been patched in the versions published on April 14th, 2020, going back to v2.17.x. Anyone wishing to backport the change further can do so by applying commit 9a6bbee (the full release includes extra checks for git fsck, but that commit is sufficient to protect clients against the vulnerability). The patched versions are: 2.17.4, 2.18.3, 2.19.4, 2.20.3, 2.21.2, 2.22.3, 2.23.2, 2.24.2, 2.25.3, 2.26.1.

9.8 2020-01-24 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.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.

3.3 2020-01-24 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.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.

8.8 2019-12-18 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.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.

7.8 2019-12-11 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.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.

8.8 2017-09-28 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 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.

4.3 2013-03-08 CVE-2013-0308

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.

4.3 2010-12-17 CVE-2010-3906

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.

7.5 2010-08-11 CVE-2010-2542

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.

4.6 2009-01-20 CVE-2008-5916

gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4.3 allows local repository owners to execute arbitrary commands by modifying the diff.external configuration variable and executing a crafted gitweb query.

7.5 2009-01-20 CVE-2008-5516

The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.

7.5 2009-01-13 CVE-2008-5517

The web interface in git (gitweb) 1.5.x before 1.5.6 allows remote attackers to execute arbitrary commands via shell metacharacters related to (1) git_snapshot and (2) git_object.

CWE : Common Weakness Enumeration

%idName
18% (2) CWE-522 Insufficiently Protected Credentials
18% (2) CWE-264 Permissions, Privileges, and Access Controls
18% (2) CWE-78 Improper Sanitization of Special Elements used in an OS Command ('O...
18% (2) CWE-20 Improper Input Validation
9% (1) CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer
9% (1) CWE-94 Failure to Control Generation of Code ('Code Injection')
9% (1) CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting')

Open Source Vulnerability Database (OSVDB)

id Description
69929 Gitweb index.php Multiple Parameter XSS
67091 Git setup.c is_git_directory Function gitdir: Field Overflow
53539 GIT gitweb git_search Shell Metacharacter Arbitrary Command Execution
53538 GIT gitweb git_snapshot / git_object Shell Metacharacter Arbitrary Command Ex...
50918 GIT gitweb/gitweb.perl diff.external Configuration Variable Crafted Query Loc...

ExploitDB Exploits

id Description
15744 Gitweb <=1.7.3.3 Cross Site Scripting
11497 gitWeb v1.5.2 Remote Command Execution

OpenVAS Exploits

id Description
2011-03-24 Name : Fedora Update for cgit FEDORA-2011-2815
File : nvt/gb_fedora_2011_2815_cgit_fc13.nasl
2011-01-11 Name : Fedora Update for git FEDORA-2010-18973
File : nvt/gb_fedora_2010_18973_git_fc13.nasl
2010-12-28 Name : Mandriva Update for git MDVSA-2010:256 (git)
File : nvt/gb_mandriva_MDVSA_2010_256.nasl
2010-12-28 Name : Fedora Update for git FEDORA-2010-18981
File : nvt/gb_fedora_2010_18981_git_fc14.nasl
2010-12-02 Name : Fedora Update for cgit FEDORA-2010-15387
File : nvt/gb_fedora_2010_15387_cgit_fc14.nasl
2010-10-19 Name : Fedora Update for cgit FEDORA-2010-15501
File : nvt/gb_fedora_2010_15501_cgit_fc12.nasl
2010-10-19 Name : Fedora Update for cgit FEDORA-2010-15534
File : nvt/gb_fedora_2010_15534_cgit_fc13.nasl
2010-10-04 Name : Mandriva Update for git MDVSA-2010:194 (git)
File : nvt/gb_mandriva_MDVSA_2010_194.nasl
2010-08-21 Name : FreeBSD Ports: git
File : nvt/freebsd_git1.nasl
2009-06-05 Name : Ubuntu USN-723-1 (git-core)
File : nvt/ubuntu_723_1.nasl
2009-06-05 Name : Ubuntu USN-707-1 (cupsys)
File : nvt/ubuntu_707_1.nasl
2009-03-13 Name : Gentoo Security Advisory GLSA 200903-15 (git)
File : nvt/glsa_200903_15.nasl
2009-02-13 Name : Fedora Update for git FEDORA-2008-11653
File : nvt/gb_fedora_2008_11653_git_fc8.nasl
2009-02-13 Name : Fedora Update for git FEDORA-2008-11650
File : nvt/gb_fedora_2008_11650_git_fc9.nasl
2009-01-20 Name : FreeBSD Ports: git
File : nvt/freebsd_git.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 11.1)
File : nvt/suse_sr_2009_001.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 11.0)
File : nvt/suse_sr_2009_001a.nasl
2009-01-20 Name : SuSE Security Summary SUSE-SR:2009:001 (OpenSuSE 10.3)
File : nvt/suse_sr_2009_001b.nasl
2009-01-20 Name : Debian Security Advisory DSA 1708-1 (git-core)
File : nvt/deb_1708_1.nasl
0000-00-00 Name : Slackware Advisory SSA:2009-051-02 git
File : nvt/esoft_slk_ssa_2009_051_02.nasl

Nessus® Vulnerability Scanner

This CPE have more than 25 Relations. If you want to see a complete summary for this CPE, please contact us.
id Description
2018-08-17 Name: The remote PhotonOS host is missing multiple security updates.
File: PhotonOS_PHSA-2017-0038.nasl - Type: ACT_GATHER_INFO
2017-11-01 Name: The remote EulerOS host is missing a security update.
File: EulerOS_SA-2017-1266.nasl - Type: ACT_GATHER_INFO
2017-11-01 Name: The remote EulerOS host is missing a security update.
File: EulerOS_SA-2017-1265.nasl - Type: ACT_GATHER_INFO
2017-10-23 Name: The remote openSUSE host is missing a security update.
File: openSUSE-2017-1167.nasl - Type: ACT_GATHER_INFO
2017-10-18 Name: The remote SUSE host is missing one or more security updates.
File: suse_SU-2017-2747-1.nasl - Type: ACT_GATHER_INFO
2017-10-06 Name: The remote Ubuntu host is missing a security-related patch.
File: ubuntu_USN-3438-1.nasl - Type: ACT_GATHER_INFO
2017-10-03 Name: The remote openSUSE host is missing a security update.
File: openSUSE-2017-1115.nasl - Type: ACT_GATHER_INFO
2017-10-03 Name: The remote Debian host is missing a security update.
File: debian_DLA-1120.nasl - Type: ACT_GATHER_INFO
2017-09-27 Name: The remote Debian host is missing a security-related update.
File: debian_DSA-3984.nasl - Type: ACT_GATHER_INFO
2014-06-13 Name: The remote openSUSE host is missing a security update.
File: suse_11_3_git-110117.nasl - Type: ACT_GATHER_INFO
2014-06-13 Name: The remote openSUSE host is missing a security update.
File: openSUSE-2013-170.nasl - Type: ACT_GATHER_INFO
2014-01-12 Name: The remote Gentoo host is missing one or more security-related patches.
File: gentoo_GLSA-201401-06.nasl - Type: ACT_GATHER_INFO
2013-09-24 Name: The remote host has an application installed that is prone to a man-in-the-mi...
File: macosx_xcode_5_0.nasl - Type: ACT_GATHER_INFO
2013-07-12 Name: The remote Oracle Linux host is missing one or more security updates.
File: oraclelinux_ELSA-2013-0589.nasl - Type: ACT_GATHER_INFO
2013-07-12 Name: The remote Oracle Linux host is missing one or more security updates.
File: oraclelinux_ELSA-2010-1003.nasl - Type: ACT_GATHER_INFO
2013-03-10 Name: The remote CentOS host is missing one or more security updates.
File: centos_RHSA-2013-0589.nasl - Type: ACT_GATHER_INFO
2013-03-05 Name: The remote Scientific Linux host is missing one or more security updates.
File: sl_20130304_git_on_SL6_x.nasl - Type: ACT_GATHER_INFO
2013-03-05 Name: The remote Red Hat host is missing one or more security updates.
File: redhat-RHSA-2013-0589.nasl - Type: ACT_GATHER_INFO
2013-03-04 Name: The remote Fedora host is missing a security update.
File: fedora_2013-2763.nasl - Type: ACT_GATHER_INFO
2013-03-04 Name: The remote Fedora host is missing a security update.
File: fedora_2013-2829.nasl - Type: ACT_GATHER_INFO
2012-08-01 Name: The remote Scientific Linux host is missing one or more security updates.
File: sl_20101221_git_on_SL6_x.nasl - Type: ACT_GATHER_INFO
2011-05-05 Name: The remote openSUSE host is missing a security update.
File: suse_11_2_git-110117.nasl - Type: ACT_GATHER_INFO
2011-04-08 Name: The remote web server contains a CGI script that can be abused to execute arb...
File: gitweb_git_search_cmd_exec.nasl - Type: ACT_ATTACK
2011-01-04 Name: The remote Fedora host is missing a security update.
File: fedora_2010-18973.nasl - Type: ACT_GATHER_INFO
2010-12-26 Name: The remote Fedora host is missing a security update.
File: fedora_2010-18981.nasl - Type: ACT_GATHER_INFO