Insufficiently Protected Credentials in Git - CVE-2020-11008

 

Insufficiently Protected Credentials in Git - CVE-2020-11008

Published: April 23, 2020


Vulnerability identifier: #VU27257
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-11008
CWE-ID: CWE-522
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information on the system

The vulnerability exists due to the Git can be tricked into sending private credentials to a host controlled by an attacker. A remote attacker can send a specially crafted URL to "git clone" that will present stored credentials for any host to a host of their choosing.

Note: This vulnerability is similar to the CVE-2020-5260 (SB2020041523). 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).


Affected software

Git
Arch Linux
Debian Linux
Amazon Linux AMI
Gentoo Linux
CentOS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Slackware Linux
Opensuse
openEuler
Fedora
git (Alpine package)
git (Red Hat package)
rh-git218-git (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
git (Debian package)
git
git-daemon
git-debuginfo
git-debugsource
git-email
git-gui
git-help
git-svn
git-web
gitk
perl-Git
perl-Git-SVN
Red Hat Software Collections
Apple Xcode

How to mitigate CVE-2020-11008

Install updates from vendor's website.

Git - addressed in versions 2.17.5, 2.18.4, 2.19.5, 2.20.4, 2.21.3, 2.22.4, 2.23.3, 2.24.3, 2.25.4, 2.26.2
git (Red Hat package) - addressed in versions 1.8.3.1-23.el7_7, 1.8.3.1-23.el7_8, 2.18.4-1.el8_0, 2.18.4-1.el8_1, 2.18.4-2.el8_2
git (Alpine package) - addressed in versions 2.18.4-r0, 2.20.4-r0
rh-git218-git (Red Hat package) - update to 2.18.4-1.el7
Apple Xcode - update to 11.5
git (Debian package) - addressed in versions 1:2.11.0-3+deb9u7, 1:2.20.1-2+deb10u3
git - addressed in versions 2.21.3-1.fc30, 2.25.4-1.fc31, 2.26.2-1.fc32
git - update to 2.23.0-16
git-daemon - update to 2.23.0-16
git-debuginfo - update to 2.23.0-16
git-debugsource - update to 2.23.0-16
git-email - update to 2.23.0-16
git-gui - update to 2.23.0-16
git-help - update to 2.23.0-16
git-svn - update to 2.23.0-16
git-web - update to 2.23.0-16
gitk - update to 2.23.0-16
perl-Git - update to 2.23.0-16
perl-Git-SVN - update to 2.23.0-16

External References

Related Security Bulletins