Important: git security update

git Updated 02 Oct 2025

Summary

06/02/2023
N/A
Yes i
Critical
9.8

RLSA-2023:0611: Important: git security update. Affects git versions < 0:2.31.1-3.el9_1. Fixed in 0:2.31.1-3.el9_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 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

The vulnerability (CVE-2022-23521) in Git is related to an integer overflow in the parsing of gitattributes. This could potentially lead to security issues such as arbitrary code execution or denial of service attacks. Another vulnerability (CVE-2022-41903) involves a heap overflow in the git archive and git log --format commands, which could also result in remote code execution. Both vulnerabilities have a CVSS score of 9.8, indicating their high severity.

How To Fix

Minimum fixed version

0:2.31.1-3.el9_1

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

It is crucial to update Git to the latest version (2.31.1-3.el9_1 or later) to mitigate the identified vulnerabilities. This will ensure the security and integrity of your Git repositories. 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 version control system used for tracking changes in source code during software development.

The vulnerabilities could potentially allow attackers to execute arbitrary code or cause denial of service attacks on systems using Git.

You can use the Vulert Playground at Vulert Scanner to check if your version of Git is affected by these vulnerabilities. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.

No specific workarounds have been mentioned for these vulnerabilities. It is recommended to update Git to the latest version.

You can refer to the CVE pages for CVE-2022-23521 and CVE-2022-41903 for more detailed information about these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for git.

How To Fix

Minimum fixed version

0:2.31.1-3.el9_1

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