Upstream information

CVE-2020-5260 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1168930 [RESOLVED / FIXED], 1169936 [RESOLVED / FIXED], 1170741 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
HPE-Helion-OpenStack-8-2020-1295
HPE-Helion-OpenStack-8-2020-992
SUSE Enterprise Storage 5
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-Storage-5-2020-1295
SUSE-Storage-5-2020-992
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • git >= 2.16.4-3.20.1
  • git-arch >= 2.16.4-3.20.1
  • git-core >= 2.16.4-3.20.1
  • git-cvs >= 2.16.4-3.20.1
  • git-daemon >= 2.16.4-3.20.1
  • git-doc >= 2.16.4-3.20.1
  • git-email >= 2.16.4-3.20.1
  • git-gui >= 2.16.4-3.20.1
  • git-svn >= 2.16.4-3.20.1
  • git-web >= 2.16.4-3.20.1
  • gitk >= 2.16.4-3.20.1
Patchnames:
SUSE-SLE-Product-HPC-15-2020-991
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • git >= 2.26.1-3.25.2
  • git-core >= 2.26.1-3.25.2
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2020-1121
SUSE-SLE-Module-Basesystem-15-SP1-2020-991
SUSE Linux Enterprise Module for Development Tools 15 SP1
  • git >= 2.26.1-3.25.2
  • git-arch >= 2.26.1-3.25.2
  • git-cvs >= 2.26.1-3.25.2
  • git-daemon >= 2.26.1-3.25.2
  • git-doc >= 2.26.1-3.25.2
  • git-email >= 2.26.1-3.25.2
  • git-gui >= 2.26.1-3.25.2
  • git-svn >= 2.26.1-3.25.2
  • git-web >= 2.26.1-3.25.2
  • gitk >= 2.26.1-3.25.2
Patchnames:
SUSE-SLE-Module-Development-Tools-15-SP1-2020-1121
SUSE-SLE-Module-Development-Tools-15-SP1-2020-991
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • git >= 2.26.1-3.25.2
  • git-credential-gnome-keyring >= 2.26.1-3.25.2
  • git-credential-libsecret >= 2.26.1-3.25.2
  • git-p4 >= 2.26.1-3.25.2
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-1121
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-991
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2020-1295
SUSE-SLE-POS-12-SP2-CLIENT-2020-992
SUSE Linux Enterprise Server 12 SP1-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP1-LTSS
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2020-1295
SUSE-SLE-SERVER-12-SP1-2020-992
SUSE Linux Enterprise Server 12 SP2-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP2-BCL
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2020-1295
SUSE-SLE-SERVER-12-SP2-BCL-2020-992
SUSE Linux Enterprise Server 12 SP2-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-ESPOS
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2020-1295
SUSE-SLE-SERVER-12-SP2-ESPOS-2020-992
SUSE Linux Enterprise Server 12 SP2-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2020-1295
SUSE-SLE-SERVER-12-SP2-2020-992
SUSE Linux Enterprise Server 12 SP3-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP3-BCL
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2020-1295
SUSE-SLE-SERVER-12-SP3-BCL-2020-992
SUSE Linux Enterprise Server 12 SP3-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-ESPOS
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2020-1295
SUSE-SLE-SERVER-12-SP3-ESPOS-2020-992
SUSE Linux Enterprise Server 12 SP3-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-LTSS
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2020-1295
SUSE-SLE-SERVER-12-SP3-2020-992
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-2020-1295
SUSE-SLE-SERVER-12-SP4-2020-992
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2020-1295
SUSE-SLE-SERVER-12-SP5-2020-992
SUSE Linux Enterprise Server 15-LTSS
  • git >= 2.16.4-3.20.1
  • git-arch >= 2.16.4-3.20.1
  • git-core >= 2.16.4-3.20.1
  • git-cvs >= 2.16.4-3.20.1
  • git-daemon >= 2.16.4-3.20.1
  • git-doc >= 2.16.4-3.20.1
  • git-email >= 2.16.4-3.20.1
  • git-gui >= 2.16.4-3.20.1
  • git-svn >= 2.16.4-3.20.1
  • git-web >= 2.16.4-3.20.1
  • gitk >= 2.16.4-3.20.1
Patchnames:
SUSE-SLE-Product-SLES-15-2020-991
SUSE Linux Enterprise Server for SAP Applications 12 SP1
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SAP-12-SP1-2020-1295
SUSE-SLE-SAP-12-SP1-2020-992
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2020-1295
SUSE-SLE-SAP-12-SP2-2020-992
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2020-1295
SUSE-SLE-SAP-12-SP3-2020-992
SUSE Linux Enterprise Server for SAP Applications 15
  • git >= 2.16.4-3.20.1
  • git-arch >= 2.16.4-3.20.1
  • git-core >= 2.16.4-3.20.1
  • git-cvs >= 2.16.4-3.20.1
  • git-daemon >= 2.16.4-3.20.1
  • git-doc >= 2.16.4-3.20.1
  • git-email >= 2.16.4-3.20.1
  • git-gui >= 2.16.4-3.20.1
  • git-svn >= 2.16.4-3.20.1
  • git-web >= 2.16.4-3.20.1
  • gitk >= 2.16.4-3.20.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2020-991
SUSE Linux Enterprise Software Development Kit 12 SP4
  • git >= 2.26.2-27.36.1
  • git-arch >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-cvs >= 2.26.2-27.36.1
  • git-daemon >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • git-email >= 2.26.2-27.36.1
  • git-gui >= 2.26.2-27.36.1
  • git-svn >= 2.26.2-27.36.1
  • git-web >= 2.26.2-27.36.1
  • gitk >= 2.26.2-27.36.1
  • pcre2 >= 10.34-1.3.1
  • pcre2-devel >= 10.34-1.3.1
  • pcre2-devel-static >= 10.34-1.3.1
  • pcre2-tools >= 10.34-1.3.1
Patchnames:
SUSE-SLE-SDK-12-SP4-2020-1295
SUSE-SLE-SDK-12-SP4-2020-992
SUSE Linux Enterprise Software Development Kit 12 SP5
  • git >= 2.26.2-27.36.1
  • git-arch >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-cvs >= 2.26.2-27.36.1
  • git-daemon >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • git-email >= 2.26.2-27.36.1
  • git-gui >= 2.26.2-27.36.1
  • git-svn >= 2.26.2-27.36.1
  • git-web >= 2.26.2-27.36.1
  • gitk >= 2.26.2-27.36.1
  • pcre2 >= 10.34-1.3.1
  • pcre2-devel >= 10.34-1.3.1
  • pcre2-devel-static >= 10.34-1.3.1
  • pcre2-tools >= 10.34-1.3.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2020-1295
SUSE-SLE-SDK-12-SP5-2020-992
SUSE OpenStack Cloud 7
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • git-doc >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-OpenStack-Cloud-7-2020-1295
SUSE-OpenStack-Cloud-7-2020-992
SUSE OpenStack Cloud 8
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-OpenStack-Cloud-8-2020-1295
SUSE-OpenStack-Cloud-8-2020-992
SUSE OpenStack Cloud Crowbar 8
  • git >= 2.26.2-27.36.1
  • git-core >= 2.26.2-27.36.1
  • libpcre2-16-0 >= 10.34-1.3.1
  • libpcre2-32-0 >= 10.34-1.3.1
  • libpcre2-8-0 >= 10.34-1.3.1
  • libpcre2-posix2 >= 10.34-1.3.1
  • pcre2 >= 10.34-1.3.1
  • perl-CGI >= 4.38-1.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2020-1295
SUSE-OpenStack-Cloud-Crowbar-8-2020-992
openSUSE Leap 15.1
  • git >= 2.26.1-lp151.4.9.1
  • git-arch >= 2.26.1-lp151.4.9.1
  • git-core >= 2.26.1-lp151.4.9.1
  • git-core-debuginfo >= 2.26.1-lp151.4.9.1
  • git-credential-gnome-keyring >= 2.26.1-lp151.4.9.1
  • git-credential-gnome-keyring-debuginfo >= 2.26.1-lp151.4.9.1
  • git-credential-libsecret >= 2.26.1-lp151.4.9.1
  • git-credential-libsecret-debuginfo >= 2.26.1-lp151.4.9.1
  • git-cvs >= 2.26.1-lp151.4.9.1
  • git-daemon >= 2.26.1-lp151.4.9.1
  • git-daemon-debuginfo >= 2.26.1-lp151.4.9.1
  • git-debuginfo >= 2.26.1-lp151.4.9.1
  • git-debugsource >= 2.26.1-lp151.4.9.1
  • git-doc >= 2.26.1-lp151.4.9.1
  • git-email >= 2.26.1-lp151.4.9.1
  • git-gui >= 2.26.1-lp151.4.9.1
  • git-p4 >= 2.26.1-lp151.4.9.1
  • git-svn >= 2.26.1-lp151.4.9.1
  • git-svn-debuginfo >= 2.26.1-lp151.4.9.1
  • git-web >= 2.26.1-lp151.4.9.1
  • gitk >= 2.26.1-lp151.4.9.1
Patchnames:
openSUSE-2020-524
openSUSE-2020-598


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 git Released
HPE Helion OpenStack Cloud 8 git Affected
SUSE CaaS Platform 3.0 git Affected
SUSE Container as a Service Platform 1.0 git Affected
SUSE Container as a Service Platform 2.0 git Affected
SUSE Linux Enterprise 15-SP1 Module for Basesystem git Released
SUSE Linux Enterprise 15-SP1 Module for Development Tools git Released
SUSE Linux Enterprise 15-SP2 Module for Basesystem git Released
SUSE Linux Enterprise 15-SP2 Module for Development Tools git Released
SUSE Linux Enterprise High Performance Computing 12 SP4 git Released
SUSE Linux Enterprise High Performance Computing 12 SP5 git Released
SUSE Linux Enterprise High Performance Computing 15 LTSS git Released
SUSE Linux Enterprise Server 12 SP1 LTSS git Released
SUSE Linux Enterprise Server 12 SP2 BCL git Released
SUSE Linux Enterprise Server 12 SP2 LTSS git Released
SUSE Linux Enterprise Server 12 SP3 BCL git Released
SUSE Linux Enterprise Server 12 SP3 LTSS git Released
SUSE Linux Enterprise Server 12 SP4 git Released
SUSE Linux Enterprise Server 12 SP5 git Released
SUSE Linux Enterprise Server 15 LTSS git Released
SUSE Linux Enterprise Server ESPOS 15 git Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 git Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 git Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 git Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 git Released
SUSE Linux Enterprise Software Development Kit 12 SP4 git Released
SUSE Linux Enterprise Software Development Kit 12 SP5 git Released
SUSE OpenStack Cloud 8 git Released