Moderate: git security and bug fix update
Summary
ALSA-2023:2319: Moderate: git security and bug fix update. Affects git versions < 2.39.1-1.el9. Fixed in 2.39.1-1.el9. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 in Git has several security issues:
- CVE-2022-24765: On multi-user machines, Git users might unexpectedly find themselves in a Git worktree.
- CVE-2022-29187: Bypass of safe.directory protections.
- CVE-2022-39253: Exposure of sensitive information to a malicious actor.
- CVE-2022-39260: Git shell function that splits command arguments can lead to arbitrary heap writes.
These vulnerabilities can result in unauthorized access, information disclosure, and potential arbitrary code execution.
How To Fix
Minimum fixed version
2.39.1-1.el9
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 →
Workaround
There are no specific workarounds mentioned for these vulnerabilities.
Conclusion
Git has been updated to address several security vulnerabilities. It is recommended to update to version 2.39.1-1.el9 or later to mitigate the risks associated with these vulnerabilities. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for git →
FAQ
Git is a distributed revision control system used for version control in software development.
These vulnerabilities can lead to unauthorized access, information disclosure, and potential arbitrary code execution.
To fix the vulnerabilities, update Git to version 2.39.1-1.el9 or later.
No specific workarounds are mentioned for these vulnerabilities.
You can find more information about these vulnerabilities in the CVE pages listed in the References section.
Related vulnerabilities
Recent vulnerabilities recorded for git.