Critical GitHub Security Bug Urges Windows Users to Update, Allows Unauthorized Command Execution

Madeleine Dean By: Madeleine Dean
2 minute read

Home » News » Critical GitHub Security Bug Urges Windows Users to Update, Allows Unauthorized Command Execution

A security bug in the official Git client for Windows and Mac might let unauthorized commands to be executed on users’ systems. Fortunately, a patch is already available and all users need to update as soon as possible in order to avoid possible attacks.
This recent bug constitutes such a severe threat because it gives access to Git repositories and it affects all version of the Git client as well as all compatible software. Special attention should be given when cloning or accessing Git repositories that are hosted on dubious locations because this is where the security bug may be hiding.

Operating systems with case-insensitive file systems are those that are affected. The malicious code operates by causing the Git to overwrite its own .git/config file when the system is cloning or checking out a repository.

“The vulnerability concerns Git and Git-compatible clients that access Git repositories in a case-insensitive or case-normalizing filesystem. An attacker can craft a malicious Git tree that will cause Git to overwrite its own .git/config file when cloning or checking out a repository, leading to arbitrary command execution in the client machine. Git clients running on OS X (HFS+) or any version of Microsoft Windows (NTFS, FAT) are exploitable through this vulnerability. Linux clients are not affected if they run in a case-sensitive filesystem.”, informs the official statement.

The good news is that is safe because administrators always check the trees in the source code when they are added. Moreover, all content on the repository has been double checked in order to eliminate any possible bug that could have somehow creeped in. However, remain wary of doubtful hosting locations because security verification is faulty there.

We have also completed an automated scan of all existing content on to look for malicious content that might have been pushed to our site before this vulnerability was discovered. This work is an extension of the data-quality checks we have always performed on repositories pushed to our servers to protect our users against malformed or malicious Git data.

UpdatedGitHub versions are now available for download for Windows  and Mac. All users are urged to update in order to keep their systems safe.

READ ALSO: Windows XP is now a Very Easy Target for Hackers, Windows 10 Update is Mandatory

Join our community
windows report logo

Join our community of over 2 million active users and get the latest and most important Windows content on your email address.


Next up

Surface Hub 2S lands in June with a $9,000 price tag

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft announced the Surface Hub 2 almost a year ago and recently shared more details on the product line. Surface Hub 2X will hit the […]

Continue Reading

Error loading player: No playable sources found [FIX]

Andrew Wafer By: Andrew Wafer
4 minute read

The Error loading player: No playable sources found message signals a problem that happened while an online video was loading on your browser. Shortly, when this […]

Continue Reading

Your connection to matchmaking servers is not reliable [Fix]

Emmanuel Johnson avatar. By: Emmanuel Johnson
3 minute read

Steam is a platform on which lots of competitive games can be played, but sometimes you might encounter Your connection to matchmaking servers is not […]

Continue Reading