Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

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

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.

URLSource(s)Tag(s)
http://seclists.org/fulldisclosure/2022/Nov/1 CVEMailing ListThird Party Advisory
https://github.blog/2022-04-12-git-security-vulnerability-announced CVEThird Party Advisory
https://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v CVEThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/12/msg00025.html CVEMailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/ CVE

see all 30 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-427Uncontrolled Search Path Element[email protected]
CWE-282Improper Ownership Management[email protected]
CWE-427Uncontrolled Search Path Element[email protected]

Affected Products

ProductVersions
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

CPE

  • cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
fedoraproject fedora
35
36
37

CPE

  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
apple xcode
< 14.1

CPE

  • cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
10.0

CPE

  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

19 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-29187
NVD Published Date:
Jul 12, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-29187 Details - Not Deferred