CVE-2020-5260CWE-20

malicious URLs may cause Git to present stored credentials to the wrong server

Critical · published April 14, 2020

CVSS v3.1
9.3
EPSS
10%
Percentile
95.6
In the wild
Unconfirmed
What it is

🚨 A crafted URL can trick Git into leaking your private credentials straight into an attacker's hands! 🔥 Think of it like a restaurant mistakenly delivering your order to the wrong table because the waiter misreads a note — the waiter brings the dish with your secret recipe to a stranger! If exploited, an attacker could easily snag your credentials meant for one server and use them on another, potentially giving them access to sensitive data and systems. This means your information could be compromised without you even realizing it until it’s too late!

Put simply

Think of it like a restaurant mistakenly delivering your order to the wrong table because the waiter misreads a note — the waiter brings the dish with your secret recipe to a stranger! This vulnerability allows specially-crafted URLs to inject unintended values into Git's credential helper protocol, resulting in the retrieval and transmission of the wrong credentials for a different server.

What to do

If exploited, an attacker could easily snag your credentials meant for one server and use them on another, potentially giving them access to sensitive data and systems. This means your information could be compromised without you even realizing it until it’s too late! To protect yourself, immediately upgrade Git to version 2.17.4 or higher. If you're on an older version, backport the fix from commit 9a6bbee to ensure your credentials remain secured. Don't let this vulnerability put you in a bind! You’ve got this! Follow these steps and you’ll bolster your security in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.09966 · 95.6th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2020-04-14T22:50Z
EPSS history
Timeline
  • 14 APR 22:50Z
    malicious URLs may cause Git to present stored credentials to the wrong server
    cvelistv5