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.
CVSS Details
- CVSS 3.1 Base Score: 4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-git | Jun 11, 2020 | Apr 21, 2020 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-gitamazon-linux-ami-2-upgrade-git-allamazon-linux-ami-2-upgrade-git-coreamazon-linux-ami-2-upgrade-git-core-docamazon-linux-ami-2-upgrade-git-cvsamazon-linux-ami-2-upgrade-git-daemonamazon-linux-ami-2-upgrade-git-debuginfoamazon-linux-ami-2-upgrade-git-emailamazon-linux-ami-2-upgrade-git-guiamazon-linux-ami-2-upgrade-git-instawebamazon-linux-ami-2-upgrade-git-p4amazon-linux-ami-2-upgrade-git-subtreeamazon-linux-ami-2-upgrade-git-svnamazon-linux-ami-2-upgrade-gitkamazon-linux-ami-2-upgrade-gitwebamazon-linux-ami-2-upgrade-perl-gitamazon-linux-ami-2-upgrade-perl-git-svn | May 8, 2020 | Apr 21, 2020 | |
| Amazon_linux | — | amazon-linux-upgrade-git | Jul 30, 2020 | Apr 21, 2020 |
| Arch Linux | arch-linux-upgrade-latest | Jul 11, 2025 | Apr 21, 2020 | |
| Centos_linux | — | centos-upgrade-emacs-gitcentos-upgrade-emacs-git-elcentos-upgrade-gitcentos-upgrade-git-allcentos-upgrade-git-bzrcentos-upgrade-git-corecentos-upgrade-git-core-debuginfocentos-upgrade-git-core-doccentos-upgrade-git-cvscentos-upgrade-git-daemoncentos-upgrade-git-daemon-debuginfocentos-upgrade-git-debuginfocentos-upgrade-git-debugsourcecentos-upgrade-git-emailcentos-upgrade-git-gnome-keyringcentos-upgrade-git-guicentos-upgrade-git-hgcentos-upgrade-git-instawebcentos-upgrade-git-p4centos-upgrade-git-subtreecentos-upgrade-git-svncentos-upgrade-git-svn-debuginfocentos-upgrade-gitkcentos-upgrade-gitwebcentos-upgrade-perl-gitcentos-upgrade-perl-git-svn | May 1, 2020 | Apr 21, 2020 |
| Debian | debian-upgrade-git | Apr 22, 2020 | Apr 22, 2020 | |
| Freebsd | freebsd-upgrade-package-gitfreebsd-upgrade-package-git-litefreebsd-upgrade-package-git-guifreebsd-upgrade-package-gitlab-ce | May 2, 2020 | Apr 22, 2020 | |
| Gentoo Linux | gentoo-linux-upgrade-dev-vcs-git | Apr 24, 2020 | Apr 21, 2020 | |
| Huawei Euleros 2_0_sp2 | huawei-euleros-2_0_sp2-upgrade-githuawei-euleros-2_0_sp2-upgrade-perl-git | Feb 22, 2021 | Apr 21, 2020 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-githuawei-euleros-2_0_sp3-upgrade-perl-git | Jan 20, 2021 | Apr 21, 2020 | |
| Huawei Euleros 2_0_sp5 | huawei-euleros-2_0_sp5-upgrade-githuawei-euleros-2_0_sp5-upgrade-git-corehuawei-euleros-2_0_sp5-upgrade-git-core-dochuawei-euleros-2_0_sp5-upgrade-perl-git | Jun 3, 2020 | Apr 21, 2020 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-githuawei-euleros-2_0_sp8-upgrade-git-corehuawei-euleros-2_0_sp8-upgrade-git-core-dochuawei-euleros-2_0_sp8-upgrade-perl-git | May 27, 2020 | Apr 21, 2020 | |
| Huawei Euleros 2_0_sp9 | huawei-euleros-2_0_sp9-upgrade-githuawei-euleros-2_0_sp9-upgrade-git-helphuawei-euleros-2_0_sp9-upgrade-perl-git | Sep 29, 2021 | Apr 21, 2020 | |
| Oracle Solaris | oracle-solaris-11-4-upgrade-developer-versioning-git-2-19-5-11-4-24-0-1-75-1 | Jan 19, 2021 | Apr 21, 2020 | |
| Oracle_linux | — | oracle-linux-upgrade-emacs-gitoracle-linux-upgrade-emacs-git-eloracle-linux-upgrade-gitoracle-linux-upgrade-git-alloracle-linux-upgrade-git-bzroracle-linux-upgrade-git-coreoracle-linux-upgrade-git-core-docoracle-linux-upgrade-git-cvsoracle-linux-upgrade-git-daemonoracle-linux-upgrade-git-emailoracle-linux-upgrade-git-gnome-keyringoracle-linux-upgrade-git-guioracle-linux-upgrade-git-hgoracle-linux-upgrade-git-instaweboracle-linux-upgrade-gitkoracle-linux-upgrade-git-p4oracle-linux-upgrade-git-subtreeoracle-linux-upgrade-git-svnoracle-linux-upgrade-gitweboracle-linux-upgrade-perl-gitoracle-linux-upgrade-perl-git-svn | May 29, 2020 | Apr 20, 2020 |
| Redhat_linux | redhat-upgrade-emacs-gitredhat-upgrade-emacs-git-elredhat-upgrade-gitredhat-upgrade-git-allredhat-upgrade-git-bzrredhat-upgrade-git-coreredhat-upgrade-git-core-debuginforedhat-upgrade-git-core-docredhat-upgrade-git-cvsredhat-upgrade-git-daemonredhat-upgrade-git-daemon-debuginforedhat-upgrade-git-debuginforedhat-upgrade-git-debugsourceredhat-upgrade-git-emailredhat-upgrade-git-gnome-keyringredhat-upgrade-git-guiredhat-upgrade-git-hgredhat-upgrade-git-instawebredhat-upgrade-git-p4redhat-upgrade-git-subtreeredhat-upgrade-git-svnredhat-upgrade-git-svn-debuginforedhat-upgrade-gitkredhat-upgrade-gitwebredhat-upgrade-perl-gitredhat-upgrade-perl-git-svn | May 1, 2020 | Apr 21, 2020 | |
| Suse | — | suse-upgrade-gitsuse-upgrade-git-archsuse-upgrade-git-coresuse-upgrade-git-credential-gnome-keyringsuse-upgrade-git-credential-libsecretsuse-upgrade-git-cvssuse-upgrade-git-daemonsuse-upgrade-git-docsuse-upgrade-git-emailsuse-upgrade-git-guisuse-upgrade-git-p4suse-upgrade-git-svnsuse-upgrade-git-websuse-upgrade-gitk | May 7, 2020 | Apr 21, 2020 |
| Ubuntu | ubuntu-upgrade-git | Apr 22, 2020 | Apr 21, 2020 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Apr 21, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub