CVE-2020-5260
Description
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerability CVE-2020-5260 are affected in Git (x64) 2.26.0 | Windows |
| Vulnerability CVE-2020-5260 are affected in Git 2.26.0 | Windows |
| Vulnerabilities CVE-2020-11008,CVE-2020-5260 are affected in Git (X64) 2.17.3 | Windows |
| Vulnerabilities CVE-2020-11008,CVE-2020-5260 are affected in Git (X64) 2.22.2 | Windows |
| Vulnerabilities CVE-2020-11008,CVE-2020-5260 are affected in Git 2.17.3 | Windows |
| Vulnerabilities CVE-2020-11008,CVE-2020-5260 are affected in Git 2.22.2 | Windows |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) git-core-2.26.0-27.27.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) git-core-2.26.0-27.27.1.x86_64_SP5.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) git-core-debuginfo-2.26.0-27.27.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) git-core-debuginfo-2.26.0-27.27.1.x86_64_SP5.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) git-debugsource-2.26.0-27.27.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) git-debugsource-2.26.0-27.27.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-16-0-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-16-0-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-16-0-debuginfo-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-16-0-debuginfo-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-32-0-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-32-0-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-32-0-debuginfo-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-32-0-debuginfo-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-8-0-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-8-0-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-8-0-debuginfo-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-8-0-debuginfo-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-posix2-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-posix2-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) libpcre2-posix2-debuginfo-10.34-1.3.1.x86_64.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) libpcre2-posix2-debuginfo-10.34-1.3.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP4 ) perl-CGI-4.38-1.3.1.noarch.rpm | Linux |
| SUSE-SU-2020:0992-1(SUSE Linux Enterprise Server 12-SP5 ) perl-CGI-4.38-1.3.1.noarch_SP5.rpm | Linux |
| git security update(DSA-4657-1) git_2.11.0-3+deb9u6_i386.deb | Linux |
| git security update(DSA-4657-1) git_2.11.0-3+deb9u6_amd64.deb | Linux |
| git security update(DSA-4657-1) git_2.20.1-2+deb10u2_i386.deb | Linux |
| git security update(DSA-4657-1) git_2.20.1-2+deb10u2_amd64.deb | Linux |
| (RHSA-2020:1511) git security update emacs-git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update emacs-git-el-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (RHSA-2020:1511) git security update git-all-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-bzr-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-cvs-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-daemon-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (RHSA-2020:1511) git security update git-email-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-gnome-keyring-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (RHSA-2020:1511) git security update git-gui-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-hg-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-instaweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-p4-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update git-svn-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (RHSA-2020:1511) git security update gitk-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update gitweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update perl-Git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (RHSA-2020:1511) git security update perl-Git-SVN-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP4 ) git-core-2.26.2-27.36.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP5 ) git-core-2.26.2-27.36.1.x86_64_SP5.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP5 ) git-core-debuginfo-2.26.2-27.36.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP4 ) git-core-debuginfo-2.26.2-27.36.1.x86_64_SP4.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP5 ) git-debugsource-2.26.2-27.36.1.x86_64.rpm | Linux |
| SUSE-SU-2020:1295-1(SUSE Linux Enterprise Server 12-SP4 ) git-debugsource-2.26.2-27.36.1.x86_64_SP4.rpm | Linux |
| Git update (ELSA-2020-1511) git-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| Git-daemon update (ELSA-2020-1511) git-daemon-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| Git-gnome-keyring update (ELSA-2020-1511) git-gnome-keyring-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| Git-svn update (ELSA-2020-1511) git-svn-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| Emacs-git update (ELSA-2020-1511) emacs-git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Emacs-git-el update (ELSA-2020-1511) emacs-git-el-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-all update (ELSA-2020-1511) git-all-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-bzr update (ELSA-2020-1511) git-bzr-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-cvs update (ELSA-2020-1511) git-cvs-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-email update (ELSA-2020-1511) git-email-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-gui update (ELSA-2020-1511) git-gui-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-hg update (ELSA-2020-1511) git-hg-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-instaweb update (ELSA-2020-1511) git-instaweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Git-p4 update (ELSA-2020-1511) git-p4-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Gitk update (ELSA-2020-1511) gitk-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Gitweb update (ELSA-2020-1511) gitweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Perl-Git update (ELSA-2020-1511) perl-Git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Perl-Git-SVN update (ELSA-2020-1511) perl-Git-SVN-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update emacs-git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update emacs-git-el-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (CESA-2020:1511) git security update git-all-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-bzr-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-cvs-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-daemon-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (CESA-2020:1511) git security update git-email-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-gnome-keyring-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (CESA-2020:1511) git security update git-gui-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-hg-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-instaweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-p4-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update git-svn-1.8.3.1-22.el7_8.x86_64.rpm | Linux |
| (CESA-2020:1511) git security update gitk-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update gitweb-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update perl-Git-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| (CESA-2020:1511) git security update perl-Git-SVN-1.8.3.1-22.el7_8.noarch.rpm | Linux |
| Insufficiently Protected Credentials Vulnerability (CVE-2020-5260) | NCM |
Patch Details
Click to see the patches provided by ManageEngine for this CVE
| Patch ID | Patch Description |
|---|---|
| PATCH-342450 | Git (x64) (2.47.0.2) |
| PATCH-342449 | Git (2.47.0.2) |
| PATCH-352878 | Git (x64) (2.51.2) |
| PATCH-352878 | Git (x64) (2.51.2) |
| PATCH-350752 | Git (2.50.1) |
| PATCH-350752 | Git (2.50.1) |
References
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234