Severity
7.5HIGHNVD
CNA9.3
EPSS
32.5%
top 3.13%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 14
Latest updateJan 14

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

CVEListV5git/git< 2.17.4+18
NVDgit/git2.22.02.22.3+1
NVDgit-scm/git2.18.02.18.3+7
Debiangit/git< 1:2.26.1-1+3
NVDopensuse/leap15.1

Also affects: Debian Linux 10.0, 8.0, 9.0, Fedora 30, 31, 32, Ubuntu Linux 16.04, 18.04, 19.10

Patches

🔴Vulnerability Details

2
CVEList
malicious URLs may cause Git to present stored credentials to the wrong server2020-04-14
OSV
CVE-2020-5260: Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker2020-04-14

📋Vendor Advisories

5
Red Hat
git: Newline confusion in credential helpers can lead to credential exfiltration in git2025-01-14
Juniper
CVE-2020-1673: Insufficient Cross-Site Scripting (XSS) protection in Juniper Networks J-Web and web based (HTTP/HTTPS) services allows an unauthenticated attacker to2020-10-16
Ubuntu
Git vulnerability2020-04-14
Red Hat
git: Crafted URL containing new lines can cause credential leak2020-04-14
Debian
CVE-2020-5260: git - Affected versions of Git have a vulnerability whereby Git can be tricked into se...2020

💬Community

3
Bugzilla
CVE-2020-11008 git: Crafted URL containing new lines, empty host or lacks a scheme can cause credential leak2020-04-20
Bugzilla
CVE-2020-5260 git: Crafted URL containing new lines can cause credential leak [fedora-all]2020-04-15
Bugzilla
CVE-2020-5260 git: Crafted URL containing new lines can cause credential leak2020-04-08
CVE-2020-5260 — Improper Input Validation in GIT | cvebase