Moderate: git security and bug fix update

git Updated 02 Oct 2025

Summary

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

ALSA-2023:2859: Moderate: git security and bug fix update. Affects git versions < 2.39.1-1.el8. Fixed in 2.39.1-1.el8. 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 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 for version control in software development.

Vulnerability Detail

This update addresses several security vulnerabilities in Git. The first vulnerability (CVE-2022-24765) affects multi-user machines, where Git users may unexpectedly find themselves in a Git worktree. The second vulnerability (CVE-2022-29187) bypasses safe.directory protections. The third vulnerability (CVE-2022-39253) exposes sensitive information to malicious actors. The fourth vulnerability (CVE-2022-39260) is related to a git shell function that can lead to arbitrary heap writes. These vulnerabilities could potentially lead to unauthorized access, information disclosure, and arbitrary code execution.

How To Fix

Minimum fixed version

2.39.1-1.el8

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

This update addresses several security vulnerabilities in Git. It is important to update Git to the latest version to ensure the security and integrity of your version control system. 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 in software development. It allows multiple users to collaborate on projects and track changes to files.

A worktree in Git is a separate working copy of a repository. It allows users to work on different branches or versions of a project simultaneously.

These vulnerabilities could potentially allow unauthorized access to Git repositories, expose sensitive information, and enable arbitrary code execution.

You can update Git by following the instructions provided by your operating system or package manager. Make sure to install version 2.39.1-1.el8 or later.

No specific workarounds are mentioned for these vulnerabilities. It is recommended to update Git to the latest version to mitigate the risks.

Related vulnerabilities

Recent vulnerabilities recorded for git.

How To Fix

Minimum fixed version

2.39.1-1.el8

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