Git - Remote Code Execution via Recursive Clones

git Updated 02 Oct 2025

Summary

05/01/2016
N/A
Yes i
Unrated
Not published

DSA-3435-1: git - security update. Affects git versions < 1:1.7.10.4-1+wheezy2. Fixed in 1:1.7.10.4-1+wheezy2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Git is a distributed version control system that allows multiple developers to collaborate on a project. It provides a way to track changes in files and manage different versions of the codebase. Git is widely used in software development to streamline collaboration and ensure code integrity.

Vulnerability Detail

The Git git-remote-ext helper, a component of Git, is vulnerable to a remote code execution attack when handling recursive clones of Git repositories. An attacker can exploit this vulnerability by injecting malicious commands through crafted URLs. This can lead to arbitrary code execution on the target system, potentially compromising its security and integrity.

How To Fix

Minimum fixed version

1:1.7.10.4-1+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The Git git-remote-ext helper is vulnerable to remote code execution when handling recursive clones of Git repositories. It is crucial to upgrade your Git packages to the fixed versions mentioned in the 'how_to_fix' section to mitigate this vulnerability. For further assistance or support in vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for git →

Share this vulnerability

FAQ

Git is a distributed version control system used for tracking changes in files and managing different versions of a codebase. It is widely used in software development to facilitate collaboration among developers.

The git-remote-ext helper is a component of Git that allows interaction with remote repositories using external programs. It is used for operations like cloning and fetching code from remote Git repositories.

The vulnerability in the git-remote-ext helper occurs due to improper handling of recursive clones of Git repositories. An attacker can exploit this vulnerability by injecting malicious commands through specially crafted URLs.

This vulnerability can lead to remote code execution on the target system. An attacker can execute arbitrary commands, potentially compromising the security and integrity of the system.

To fix this vulnerability, you should upgrade your Git packages to the fixed versions mentioned in the 'how_to_fix' section. Ensure that you obtain the updated packages from official Debian repositories or trusted sources.

Related vulnerabilities

Recent vulnerabilities recorded for git.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1:1.7.10.4-1+wheezy2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback