Patchwire CVEs, their patch status, and feeds to follow them

CVE-2020-5260

Fixed in a distro release EPSS 10%CVSS 9.3

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.

Published 2020-04-14 · CVE record · OSV

Products: git

Distro releases

ReleasePackageFixed in
Alpine 3.10git2.22.3-r0
Alpine 3.11git2.24.2-r0
Alpine 3.12git2.26.1-r0
Alpine 3.13git2.26.1-r0
Alpine 3.14git2.26.1-r0
Alpine 3.15git2.26.1-r0
Alpine 3.16git2.26.1-r0
Alpine 3.17git2.26.1-r0
Alpine 3.18git2.26.1-r0
Alpine 3.19git2.26.1-r0
Alpine 3.20git2.26.1-r0
Alpine 3.21git2.26.1-r0
Alpine 3.22git2.26.1-r0
Alpine 3.23git2.26.1-r0
Alpine 3.24git2.26.1-r0
Alpine 3.8git2.18.3-r0
Alpine 3.9git2.20.3-r0
Amazon Linux 2git2.23.1-1.amzn2.0.2
Amazon Linux 2git-all2.23.1-1.amzn2.0.2
Amazon Linux 2git-core2.23.1-1.amzn2.0.2
Amazon Linux 2git-core-doc2.23.1-1.amzn2.0.2
Amazon Linux 2git-cvs2.23.1-1.amzn2.0.2
Amazon Linux 2git-daemon2.23.1-1.amzn2.0.2
Amazon Linux 2git-email2.23.1-1.amzn2.0.2
Amazon Linux 2git-gui2.23.1-1.amzn2.0.2
Amazon Linux 2git-instaweb2.23.1-1.amzn2.0.2
Amazon Linux 2git-p42.23.1-1.amzn2.0.2
Amazon Linux 2git-subtree2.23.1-1.amzn2.0.2
Amazon Linux 2git-svn2.23.1-1.amzn2.0.2
Amazon Linux 2gitk2.23.1-1.amzn2.0.2
Amazon Linux 2gitweb2.23.1-1.amzn2.0.2
Amazon Linux 2perl-Git2.23.1-1.amzn2.0.2
Amazon Linux 2perl-Git-SVN2.23.1-1.amzn2.0.2
Arch Linuxgit2.26.1-1
Debian 10git1:2.20.1-2+deb10u2
Debian 12git1:2.26.1-1
Debian 13git1:2.26.1-1
Debian 14git1:2.26.1-1
Debian 8git1:2.1.4-2.1+deb8u9
Debian 9git1:2.11.0-3+deb9u6
Red Hat Enterprise Linux 7emacs-git0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7emacs-git-el0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-all0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-bzr0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-cvs0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-daemon0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-debuginfo0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-email0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-gnome-keyring0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-gui0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-hg0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-instaweb0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-p40:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7git-svn0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7gitk0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7gitweb0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7perl-Git0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 7perl-Git-SVN0:1.8.3.1-22.el7_8
Red Hat Enterprise Linux 8git0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-all0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-core0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-core-debuginfo0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-core-doc0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-daemon0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-daemon-debuginfo0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-debuginfo0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-debugsource0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-email0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-gui0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-instaweb0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-subtree0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-svn0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8git-svn-debuginfo0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8gitk0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8gitweb0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8perl-Git0:2.18.2-2.el8_1
Red Hat Enterprise Linux 8perl-Git-SVN0:2.18.2-2.el8_1
Red Hat rhel e4s 8.0git0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-all0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-core0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-core-debuginfo0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-core-doc0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-daemon0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-daemon-debuginfo0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-debuginfo0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-debugsource0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-email0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-gui0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-instaweb0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-subtree0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-svn0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0git-svn-debuginfo0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0gitk0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0gitweb0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0perl-Git0:2.18.2-2.el8_0
Red Hat rhel e4s 8.0perl-Git-SVN0:2.18.2-2.el8_0
Red Hat rhel eus 7.7emacs-git0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7emacs-git-el0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-all0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-bzr0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-cvs0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-daemon0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-debuginfo0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-email0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-gnome-keyring0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-gui0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-hg0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-instaweb0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-p40:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7git-svn0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7gitk0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7gitweb0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7perl-Git0:1.8.3.1-23.el7_7
Red Hat rhel eus 7.7perl-Git-SVN0:1.8.3.1-23.el7_7
Red Hat rhel software collections 3rh-git218-git0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-all0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-core0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-core-doc0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-cvs0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-daemon0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-debuginfo0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-email0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-gui0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-instaweb0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-p40:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-subtree0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-git-svn0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-gitk0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-gitweb0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-perl-Git0:2.18.2-3.el7
Red Hat rhel software collections 3rh-git218-perl-Git-SVN0:2.18.2-3.el7
SUSE Enterprise Storage 5git2.26.0-27.27.1
SUSE Enterprise Storage 5git2.26.2-27.36.1
SUSE Enterprise Storage 5pcre210.34-1.3.1
SUSE Enterprise Storage 5perl-CGI4.38-1.3.1
SUSE HPE Helion OpenStack 8git2.26.2-27.36.1
SUSE HPE Helion OpenStack 8git2.26.0-27.27.1
SUSE HPE Helion OpenStack 8pcre210.34-1.3.1
SUSE HPE Helion OpenStack 8perl-CGI4.38-1.3.1
SUSE Linux Enterprise High Performance Computing 15-ESPOSgit2.16.4-3.20.1
SUSE Linux Enterprise High Performance Computing 15-LTSSgit2.16.4-3.20.1
SUSE Linux Enterprise Module for Basesystem 15 SP1git2.16.4-3.20.1
SUSE Linux Enterprise Module for Basesystem 15 SP1git2.26.1-3.25.2
SUSE Linux Enterprise Module for Development Tools 15 SP1git2.26.1-3.25.2
SUSE Linux Enterprise Module for Development Tools 15 SP1git2.16.4-3.20.1
SUSE Linux Enterprise Server 12 SP1-LTSSgit2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP1-LTSSgit2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP1-LTSSpcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP1-LTSSperl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP2-BCLgit2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP2-BCLgit2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP2-BCLpcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP2-BCLperl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP2-LTSSgit2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP2-LTSSgit2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP2-LTSSpcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP2-LTSSperl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP3-BCLgit2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP3-BCLgit2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP3-BCLpcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP3-BCLperl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP3-LTSSgit2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP3-LTSSgit2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP3-LTSSpcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP3-LTSSperl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP4git2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP4git2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP4pcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP4perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 12 SP5git2.26.2-27.36.1
SUSE Linux Enterprise Server 12 SP5git2.26.0-27.27.1
SUSE Linux Enterprise Server 12 SP5pcre210.34-1.3.1
SUSE Linux Enterprise Server 12 SP5perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server 15-LTSSgit2.16.4-3.20.1
SUSE Linux Enterprise Server for SAP Applications 12 SP1git2.26.0-27.27.1
SUSE Linux Enterprise Server for SAP Applications 12 SP1git2.26.2-27.36.1
SUSE Linux Enterprise Server for SAP Applications 12 SP1pcre210.34-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP1perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP2git2.26.0-27.27.1
SUSE Linux Enterprise Server for SAP Applications 12 SP2git2.26.2-27.36.1
SUSE Linux Enterprise Server for SAP Applications 12 SP2pcre210.34-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP2perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3git2.26.0-27.27.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3git2.26.2-27.36.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3pcre210.34-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4git2.26.0-27.27.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4git2.26.2-27.36.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4pcre210.34-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP4perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5git2.26.2-27.36.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5git2.26.0-27.27.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5pcre210.34-1.3.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5perl-CGI4.38-1.3.1
SUSE Linux Enterprise Server for SAP Applications 15git2.16.4-3.20.1
SUSE Linux Enterprise Software Development Kit 12 SP4git2.26.2-27.36.1
SUSE Linux Enterprise Software Development Kit 12 SP4git2.26.0-27.27.1
SUSE Linux Enterprise Software Development Kit 12 SP4pcre210.34-1.3.1
SUSE Linux Enterprise Software Development Kit 12 SP5git2.26.0-27.27.1
SUSE Linux Enterprise Software Development Kit 12 SP5git2.26.2-27.36.1
SUSE Linux Enterprise Software Development Kit 12 SP5pcre210.34-1.3.1
SUSE OpenStack Cloud 7git2.26.2-27.36.1
SUSE OpenStack Cloud 7git2.26.0-27.27.1
SUSE OpenStack Cloud 7pcre210.34-1.3.1
SUSE OpenStack Cloud 7perl-CGI4.38-1.3.1
SUSE OpenStack Cloud 8git2.26.2-27.36.1
SUSE OpenStack Cloud 8git2.26.0-27.27.1
SUSE OpenStack Cloud 8pcre210.34-1.3.1
SUSE OpenStack Cloud 8perl-CGI4.38-1.3.1
SUSE OpenStack Cloud Crowbar 8git2.26.2-27.36.1
SUSE OpenStack Cloud Crowbar 8git2.26.0-27.27.1
SUSE OpenStack Cloud Crowbar 8pcre210.34-1.3.1
SUSE OpenStack Cloud Crowbar 8perl-CGI4.38-1.3.1
Ubuntu 16.04 LTSgit1:2.7.4-0ubuntu1.8
Ubuntu 18.04 LTSgit1:2.17.1-1ubuntu0.6
openSUSE Leap 15.1git2.16.4-lp151.4.6.1
openSUSE Leap 15.1git2.26.1-lp151.4.9.1
openSUSE Tumbleweedgit2.33.0-1.3