CVE-2022-29187 Details
Description
Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-427 | Uncontrolled Search Path Element | [email protected] |
| CWE-282 | Improper Ownership Management | [email protected] |
| CWE-427 | Uncontrolled Search Path Element | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| git-scm git | >= 2.30.3, < 2.30.5 >= 2.31.2, < 2.31.4 >= 2.32.1, < 2.32.3 >= 2.33.2, < 2.33.4 >= 2.34.2, < 2.34.4 >= 2.35.2, < 2.35.4 >= 2.36.0, < 2.36.2 >= 2.37.0, < 2.37.1 |
CPE
Remediation
| |
| fedoraproject fedora | 35 36 37 |
CPE
Remediation
| |
| apple xcode | < 14.1 |
CPE
Remediation
| |
| debian debian linux | 10.0 |
CPE
Remediation
| |
Change History
19 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 14, 2024 | CVE Modified | [email protected] |
| Dec 27, 2023 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Apr 14, 2023 | Modified Analysis | [email protected] |
| Jan 31, 2023 | CVE Modified | [email protected] |
| Jan 30, 2023 | CVE Modified | [email protected] |
| Jan 29, 2023 | CVE Modified | [email protected] |
| Jan 27, 2023 | CVE Modified | [email protected] |
| Dec 14, 2022 | CVE Modified | [email protected] |
| Dec 9, 2022 | Modified Analysis | [email protected] |
| Nov 8, 2022 | CVE Modified | [email protected] |
| Nov 1, 2022 | CVE Modified | [email protected] |
| Jul 29, 2022 | CVE Modified | [email protected] |
| Jul 21, 2022 | CVE Modified | [email protected] |
| Jul 20, 2022 | Initial Analysis | [email protected] |
| Jul 14, 2022 | CVE Modified | [email protected] |