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.
Conclusion & alert: CVE-2022-29187 is rated Low Risk (36.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-07-30 | 0.04% | 0.05% | +0.01% |
| 2 | 2023-03-07 | 1.55% | 0.04% | -1.50% |
| 3 | 2023-01-31 | — | 1.55% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| 6.9 | 2.0 | MEDIUM |
|
3.4 | 10.0 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2022-29187: 3 source package rows (git, libgit2, libgit2-1.5); 20 state rows across 14 repos (3.17-community, 3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 15, open 5. | https://security.alpinelinux.org/vuln/CVE-2022-29187 |
debian
|
not yet assigned | CVE-2022-29187 not yet assigned priority: Debian including 1 source packages (git), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-29187 |
gentoo
|
normal | CVE-2022-29187: 2 GLSA(s) (202312-15, 202401-17), 2 atom(s) (dev-libs/libgit2, dev-vcs/git); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-29187 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-29187 |
suse
|
high | CVE-2022-29187 severity important: SUSE including 168 source package names (1.16-13.25:git-core-2.35.3-150300.10.15.1, 1.17-12.26:git-core-2.35.3-150300.10.15.1, …), 627 product×package rows across 68 product lines (Container bci/golang, Container bci/nodejs, … (68 product lines)): Fixed 627. | https://www.suse.com/security/cve/CVE-2022-29187/ |
ubuntu
|
medium | CVE-2022-29187 medium priority: Ubuntu including 1 source packages (git), 11 status rows across 11 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, trusty, upstream, xenial): released 9, ignored 1, not-affected 1. | https://ubuntu.com/security/CVE-2022-29187 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| git-scm | git | >= 2.30.3, < 2.30.5 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.31.2, < 2.31.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.32.1, < 2.32.3 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.33.2, < 2.33.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.34.2, < 2.34.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.35.2, < 2.35.4 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.36.0, < 2.36.2 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| git-scm | git | >= 2.37.0, < 2.37.1 | cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| apple | xcode | < 14.1 | cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |