Important: git security update

git Updated 02 Oct 2025

Summary

22/05/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:3245: Important: git security update. Affects git versions < 2.39.3-1.el9_2. Fixed in 2.39.3-1.el9_2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Git is a distributed revision control system with a decentralized architecture. It allows users to work on and contribute to projects without the need for permission to push changes to official repositories. Git also enables offline work. It is widely used in software development for version control and collaboration.

Vulnerability Detail

This security update addresses multiple vulnerabilities in Git:

  1. CVE-2023-25652: By feeding specially crafted input to git apply --reject, an attacker can overwrite a path outside the working tree with partially controlled contents.
  2. CVE-2023-29007: When renaming or deleting a section from a configuration file, arbitrary configuration injection can occur.
  3. CVE-2023-22490: A maliciously crafted repository can lead to data exfiltration.
  4. CVE-2023-23946: By using crafted input, an attacker can overwrite a path outside the working tree with git apply.
  5. CVE-2023-25815: If Git was compiled with a runtime prefix, malicious placement of crafted messages is possible.

These vulnerabilities can result in unauthorized access, data manipulation, and potential code execution.

How To Fix

Minimum fixed version

2.39.3-1.el9_2

This is the first release that contains the fix.

sudo dnf update git

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

Conclusion

Updating Git to the latest version is crucial to address these vulnerabilities. It is recommended to follow the provided steps and ensure that the updated version is installed correctly. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for git →

Share this vulnerability

FAQ

Git is a distributed revision control system used for version control and collaboration in software development.

These vulnerabilities can lead to unauthorized access, data manipulation, and potential code execution.

You can use the Vulert Playground at Vulert Scanner to check if your Git installation is affected by these vulnerabilities.

No, updating Git to the latest version is the recommended solution.

You can refer to the CVE pages listed in the References section of the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for git.

How To Fix

Minimum fixed version

2.39.3-1.el9_2

This is the first release that contains the fix.

sudo dnf update 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