USN-9303-1: Git vulnerabilities
It was discovered that Git did not properly sanitize messages received from remote repositories before displaying them in the terminal. An attacker could possibly use this issue to display misleading information and trick users into executing arbitrary commands. (CVE-2024-52005) It was discovered that Git incorrectly calculated buffer sizes when performing certain three-way merge operations. An attacker could possibly use this issue to trigger a heap buffer overflow, resulting in a denial of service or potentially arbitrary code execution. (CVE-2026-105437) It was discovered that Git incorrectly handled symbolic links when recursively cloning repositories with submodules. An attacker could possibly use this issue to cause malicious Git hooks or configurations to be processed, resulting in arbitrary code execution. (CVE-2026-111760)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/gitto a version that resolves this vulnerability.Fixed in 1:2.53.0-1ubuntu1.2 - Upgrade
Upgrade
ubuntu/gitto a version that resolves this vulnerability.Fixed in 1:2.43.0-1ubuntu7.5 - Upgrade
Upgrade
ubuntu/gitto a version that resolves this vulnerability.Fixed in 1:2.34.1-1ubuntu1.20
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What user actions create the most immediate exposure?
Exposure arises when users display messages from remote repositories in a terminal, perform certain three-way merge operations, or recursively clone repositories containing submodules. The recursive-clone issue can cause malicious hooks or configuration to be processed.
What could an attacker achieve?
The terminal-message issue can mislead users into executing commands. The merge issue can cause a denial of service or potentially arbitrary code execution, while the recursive submodule-clone issue can result in arbitrary code execution.
What is required for exploitation?
An attacker would need to supply or control a remote repository involved in the affected Git operation. For the terminal-message issue, successful command execution also depends on tricking the user into acting on misleading terminal output.