CVE-2018-17456

Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code…

published October 6, 2018

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.9th percentile for exploit probability.

CVSS
—
EPSS
97%
Percentile
99.9
In the wild
Unconfirmed
What it is

⚡ A crafty dash in a .gitmodules file could give an attacker the keys to the code kingdom during a "git clone"! 🔥 Think of it like a sneaky delivery driver who misreads an address — instead of dropping off just one package, they deliver a whole bundle of surprises that could wreak havoc! In this case, an attacker could craft a malicious .gitmodules file, and when a user innocently runs a recursive clone, it could trigger remote code execution. This could lead to unauthorized access, data theft, or even full server control — the digital equivalent of leaving your front door wide open!

Put simply

Think of it like a sneaky delivery driver who misreads an address — instead of dropping off just one package, they deliver a whole bundle of surprises that could wreak havoc! This vulnerability allows remote code execution through a crafted .gitmodules file that starts with a dash ('-') in its URL field during a recursive 'git clone' operation. The affected versions span multiple Git releases prior to their respective patches.

What to do

In this case, an attacker could craft a malicious .gitmodules file, and when a user innocently runs a recursive clone, it could trigger remote code execution. This could lead to unauthorized access, data theft, or even full server control — the digital equivalent of leaving your front door wide open! To protect yourself, update Git to the latest version: 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, or 2.19.1. Additionally, review any .gitmodules files before cloning repositories to ensure they don’t contain unsafe URL patterns. 📦✨ Don't worry, security hero! You've got this! Update your Git and keep your projects safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.97356 · 99.9th percentile
Published
2018-10-06T14:00Z
EPSS history
Timeline
  • 06 OCT 14:00Z
    Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code…
    cvelistv5