CVE-2022-29187
Git Privilege Escalation Vulnerability
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.
INFO
Published Date :
July 12, 2022, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 6:58 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2022-29187 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2022-29187
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-29187
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
zomotoa food app
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29187
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29187
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2022/Nov/1 Added Reference http://www.openwall.com/lists/oss-security/2022/07/14/1 Added Reference https://github.blog/2022-04-12-git-security-vulnerability-announced Added Reference https://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v Added Reference https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ Added Reference https://lore.kernel.org/git/xmqqv8s2fefi.fsf%40gitster.g/T/#u Added Reference https://security.gentoo.org/glsa/202312-15 Added Reference https://security.gentoo.org/glsa/202401-17 Added Reference https://support.apple.com/kb/HT213496 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 14, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://security.gentoo.org/glsa/202401-17 [No types assigned] -
CVE Modified by [email protected]
Dec. 27, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://security.gentoo.org/glsa/202312-15 [No types assigned] -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://lore.kernel.org/git/xmqqv8s2fefi.fsf%40gitster.g/T/#u [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ [No types assigned] Removed Reference GitHub, Inc. https://lore.kernel.org/git/[email protected]/T/#u Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ -
Modified Analysis by [email protected]
Apr. 14, 2023
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 31, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/ [No Types Assigned] -
CVE Modified by [email protected]
Jan. 30, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/ [No Types Assigned] -
CVE Modified by [email protected]
Jan. 29, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/ [No Types Assigned] -
CVE Modified by [email protected]
Jan. 27, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/ [No Types Assigned] -
CVE Modified by [email protected]
Dec. 14, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html [No Types Assigned] -
Modified Analysis by [email protected]
Dec. 09, 2022
Action Type Old Value New Value Changed Reference Type http://seclists.org/fulldisclosure/2022/Nov/1 No Types Assigned http://seclists.org/fulldisclosure/2022/Nov/1 Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ Mailing List, Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT213496 No Types Assigned https://support.apple.com/kb/HT213496 Third Party Advisory Added CWE NIST CWE-427 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* versions up to (excluding) 14.1 -
CVE Modified by [email protected]
Nov. 08, 2022
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2022/Nov/1 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 01, 2022
Action Type Old Value New Value Added Reference https://support.apple.com/kb/HT213496 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 29, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 21, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/ [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 20, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2022/07/14/1 No Types Assigned http://www.openwall.com/lists/oss-security/2022/07/14/1 Mailing List, Third Party Advisory Changed Reference Type https://github.blog/2022-04-12-git-security-vulnerability-announced No Types Assigned https://github.blog/2022-04-12-git-security-vulnerability-announced Third Party Advisory Changed Reference Type https://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v No Types Assigned https://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v Third Party Advisory Changed Reference Type https://lore.kernel.org/git/[email protected]/T/#u No Types Assigned https://lore.kernel.org/git/[email protected]/T/#u Mailing List, Release Notes, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.30.3 up to (excluding) 2.30.5 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.31.2 up to (excluding) 2.31.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.32.1 up to (excluding) 2.32.3 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.33.2 up to (excluding) 2.33.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.34.2 up to (excluding) 2.34.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.35.2 up to (excluding) 2.35.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.36.0 up to (excluding) 2.36.2 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.37.0 up to (excluding) 2.37.1 -
CVE Modified by [email protected]
Jul. 14, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/07/14/1 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29187
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-29187
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.14278
percentile