Git-Core Vulnerability (DSA-2114-1)

git-core Updated 02 Oct 2025

Summary

26/09/2010
N/A
Yes i
Unrated
Not published

DSA-2114-1: git-core. Affects git-core versions < 1:1.5.6.5-3+lenny3.1. Fixed in 1:1.5.6.5-3+lenny3.1. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Git is a distributed version control system that allows multiple developers to collaborate on a project. It is widely used for managing source code and tracking changes. The Git-Core package is the core component of Git and provides the necessary functionality for creating and managing repositories. However, a security vulnerability has been discovered in Git-Core that could allow an attacker to execute arbitrary code.

Vulnerability Detail

The vulnerability, tracked as CVE-2010-2542, arises from a flaw in the handling of git commands in a crafted working directory. If a local user is tricked into executing a malicious git command within such a directory, an attacker can exploit this to execute arbitrary code on the system. This could lead to unauthorized access, data theft, or further compromise of the affected system.

How To Fix

Minimum fixed version

1:1.5.6.5-3+lenny3.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-core

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is crucial to exercise caution when executing git commands and avoid running them within untrusted or suspicious directories.

Conclusion

The Git-Core vulnerability (DSA-2114-1) poses a significant risk to systems running the affected versions. To mitigate this risk, it is crucial to promptly update the git-core package to the fixed versions mentioned. Failure to do so may result in unauthorized access, data theft, or further compromise of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for git-core →

Share this vulnerability

FAQ

Git-Core is the core component of the Git version control system. It provides the necessary functionality for creating and managing repositories.

The vulnerability allows an attacker to execute arbitrary code on the system if a local user is tricked into running a malicious git command within a crafted working directory. This could lead to unauthorized access, data theft, or further compromise of the affected system.

To fix this vulnerability, you should upgrade the git-core package to a version that includes the necessary security patches. Refer to the provided versions for the respective distributions.

While no specific workaround is mentioned, it is important to exercise caution when executing git commands and avoid running them within untrusted or suspicious directories.

If you are using the affected versions of the git-core package, your system is potentially vulnerable. It is recommended to check the installed version and apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for git-core.

How To Fix

Minimum fixed version

1:1.5.6.5-3+lenny3.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-core

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